Click or drag to resize
MeshCollapseFacesByEdgeLength Method
Collapses multiple mesh faces, with greater/less than edge length, based on the principles found in Stan Melax's mesh reduction PDF, see

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
public int CollapseFacesByEdgeLength(
	bool bGreaterThan,
	double edgeLength


Type: SystemBoolean
Determines whether edge with lengths greater than or less than edgeLength are collapsed.
Type: SystemDouble
Length with which to compare to edge lengths.

Return Value

Type: Int32
Number of edges (faces) that were collapsed.
This number may differ from the initial number of edges that meet the input criteria because the lengths of some initial edges may be altered as other edges are collapsed.
See Also