Click or drag to resize
DigitalRuneConvexDecompositionDecomposeAsync Method
Decomposes the specified mesh (asynchronously).

Namespace: DigitalRune.Geometry.Meshes
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public void DecomposeAsync(
	ITriangleMesh mesh
)

Parameters

mesh
Type: DigitalRune.Geometry.MeshesITriangleMesh
The mesh.
Exceptions
ExceptionCondition
InvalidOperationException Convex decomposition is already in progress.
Remarks

This method does not block. The flag IsBusy is set until the decomposition has finished. The event ProgressChanged informs you on the current progress. The event Completed is raised when the decomposition is finished. The current intermediate decomposition result is available in Decomposition. Retrieving the result while the decomposition is running is possible but will temporarily block the decomposition process.

Thread-Safety:
The mesh must not be modified while the decomposition is in progress.

See Also