Click or drag to resize

MeshFaceListGetZeroAreaFaces Method

Examines and adds face indexes to whollyDegenerateFaces if the face is a triangle with zero area or a quad both triangles have zero area. Face indexes are added to partiallyDegenerateFaces when a quad has one triangle with zero area.

Namespace:  Rhino.Geometry.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax
public bool GetZeroAreaFaces(
	out int[] whollyDegenerateFaces,
	out int[] partiallyDegenerateFaces
)

Parameters

whollyDegenerateFaces
Type: SystemInt32
Array of indexes for faces, both triangles and quads, that have zero area.
partiallyDegenerateFaces
Type: SystemInt32
Array of indexes for quad faces, that have one triangle with zero area.

Return Value

Type: Boolean
Returns true if the mesh has wholly or partially degenerate faces, false otherwise.
See Also