Share via


Printing3DModel.TryReduceFacesAsync Method

Definition

Overloads

TryReduceFacesAsync()

Runs an algorithm that reduces the number of triangle faces in all of the meshes within the Printing3DModel by merging nearby vertices. Stops when the total number of triangles is reduced by half.

TryReduceFacesAsync(Printing3DFaceReductionOptions)

Runs an algorithm that reduces the number of triangle faces in all of the meshes within the Printing3DModel by merging nearby vertices. Stops according to the specified options.

TryReduceFacesAsync(Printing3DFaceReductionOptions, TimeSpan)

Runs an algorithm that reduces the number of triangle faces in all of the meshes within the Printing3DModel by merging nearby vertices. Stops according to the specified options or when the maxWait time is reached.

TryReduceFacesAsync()

Runs an algorithm that reduces the number of triangle faces in all of the meshes within the Printing3DModel by merging nearby vertices. Stops when the total number of triangles is reduced by half.

public:
 virtual IAsyncOperationWithProgress<bool, double> ^ TryReduceFacesAsync() = TryReduceFacesAsync;
/// [Windows.Foundation.Metadata.Overload("TryReduceFacesAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<bool, double> TryReduceFacesAsync();
[Windows.Foundation.Metadata.Overload("TryReduceFacesAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<bool,double> TryReduceFacesAsync();
function tryReduceFacesAsync()
Public Function TryReduceFacesAsync () As IAsyncOperationWithProgress(Of Boolean, Double)

Returns

A Boolean value indicating whether the asynchronous operation succeeded, and a Double value reporting the progress as a decimal number between zero and one.

Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Graphics.Printing3D.Printing3DContract (introduced in v3.0)

See also

Applies to

TryReduceFacesAsync(Printing3DFaceReductionOptions)

Runs an algorithm that reduces the number of triangle faces in all of the meshes within the Printing3DModel by merging nearby vertices. Stops according to the specified options.

public:
 virtual IAsyncOperationWithProgress<bool, double> ^ TryReduceFacesAsync(Printing3DFaceReductionOptions ^ printing3DFaceReductionOptions) = TryReduceFacesAsync;
/// [Windows.Foundation.Metadata.Overload("TryReduceFacesWithOptionsAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<bool, double> TryReduceFacesAsync(Printing3DFaceReductionOptions const& printing3DFaceReductionOptions);
[Windows.Foundation.Metadata.Overload("TryReduceFacesWithOptionsAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<bool,double> TryReduceFacesAsync(Printing3DFaceReductionOptions printing3DFaceReductionOptions);
function tryReduceFacesAsync(printing3DFaceReductionOptions)
Public Function TryReduceFacesAsync (printing3DFaceReductionOptions As Printing3DFaceReductionOptions) As IAsyncOperationWithProgress(Of Boolean, Double)

Parameters

printing3DFaceReductionOptions
Printing3DFaceReductionOptions

Defines the conditions which will trigger the end of the operation.

Returns

A Boolean value indicating whether the asynchronous operation succeeded, and a Double value reporting the progress as a decimal number between zero and one.

Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Graphics.Printing3D.Printing3DContract (introduced in v3.0)

See also

Applies to

TryReduceFacesAsync(Printing3DFaceReductionOptions, TimeSpan)

Runs an algorithm that reduces the number of triangle faces in all of the meshes within the Printing3DModel by merging nearby vertices. Stops according to the specified options or when the maxWait time is reached.

public:
 virtual IAsyncOperationWithProgress<bool, double> ^ TryReduceFacesAsync(Printing3DFaceReductionOptions ^ printing3DFaceReductionOptions, TimeSpan maxWait) = TryReduceFacesAsync;
/// [Windows.Foundation.Metadata.Overload("TryReduceFacesWithOptionsAndTimeAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<bool, double> TryReduceFacesAsync(Printing3DFaceReductionOptions const& printing3DFaceReductionOptions, TimeSpan const& maxWait);
[Windows.Foundation.Metadata.Overload("TryReduceFacesWithOptionsAndTimeAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<bool,double> TryReduceFacesAsync(Printing3DFaceReductionOptions printing3DFaceReductionOptions, System.TimeSpan maxWait);
function tryReduceFacesAsync(printing3DFaceReductionOptions, maxWait)
Public Function TryReduceFacesAsync (printing3DFaceReductionOptions As Printing3DFaceReductionOptions, maxWait As TimeSpan) As IAsyncOperationWithProgress(Of Boolean, Double)

Parameters

printing3DFaceReductionOptions
Printing3DFaceReductionOptions

Defines the conditions which will trigger the end of the operation.

maxWait
TimeSpan TimeSpan

Defines the amount of time (in seconds) that the algorithm can run for. A value of 0 will cause the algorithm to run until another end condition is met.

Returns

A Boolean value indicating whether the asynchronous operation succeeded, and a Double value reporting the progress as a decimal number between zero and one.

Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Graphics.Printing3D.Printing3DContract (introduced in v3.0)

See also

Applies to