Performs a polygon reduction (LOD, level of detail) on the mesh.

Namespace:  ceometric.ComputationalGeometry
Assembly:  ceometric.ComputationalGeometry (in ceometric.ComputationalGeometry.dll) Version: 2.4.0.0 (2.4.0.0)

Syntax

C#
public void ReduceMesh(
	int numTrianglesToKeep,
	bool preserveBoundaries
)
Visual Basic (Declaration)
Public Sub ReduceMesh ( _
	numTrianglesToKeep As Integer, _
	preserveBoundaries As Boolean _
)
Visual C++
public:
void ReduceMesh(
	int numTrianglesToKeep, 
	bool preserveBoundaries
)

Parameters

numTrianglesToKeep
Type: System..::.Int32
The number of triangles to keep.
preserveBoundaries
Type: System..::.Boolean
True if mesh boundary edges shall be preserved, false otherwise.

See Also