Click or drag to resize

MeshCollapseFacesByByAspectRatio Method

Collapses a multiple mesh faces, determined by face aspect ratio, based on criteria found in Stan Melax's polygon reduction, see http://pomax.nihongoresources.com/downloads/PolygonReduction.pdf

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public int CollapseFacesByByAspectRatio(
	double aspectRatio
)

Parameters

aspectRatio
Type: SystemDouble
Faces with an aspect ratio less than aspectRatio are considered as candidates.

Return Value

Type: Int32
Number of faces that were collapsed in the process.
Remarks
This number may differ from the initial number of faces that meet the input criteria because the aspect ratios of some initial faces may be altered as other faces are collapsed.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.5
See Also