RhinoCommon API
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)

public bool GetZeroAreaFaces( out int[] whollyDegenerateFaces, out int[] partiallyDegenerateFaces )
Public Function GetZeroAreaFaces ( <OutAttribute> ByRef whollyDegenerateFaces As Integer(), <OutAttribute> ByRef partiallyDegenerateFaces As Integer() ) As Boolean
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: BooleanReturns true if the mesh has wholly or partially degenerate faces, false otherwise.

Rhino for Windows
Supported in: 6.14