MeshFaceList.CullDegenerateFaces Method

MeshFaceListCullDegenerateFaces Method

Attempts to removes degenerate faces from the mesh.

Degenerate faces are faces that contains such a combination of indices, that their final shape collapsed in a line or point.

Before returning, this method also attempts to repair faces by juggling vertex indices.

Namespace:  Rhino.Geometry.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public int CullDegenerateFaces()
Public Function CullDegenerateFaces As Integer

Return Value

Type: Int32
The number of degenerate faces that were removed.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also