M_Rhino_Geometry_Collections_MeshFaceList_CullDegenerateFaces - mcneel/rhinocommon-api-docs GitHub Wiki

MeshFaceList.CullDegenerateFaces 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) Version: Rhino 6.0

Syntax

C#

public int CullDegenerateFaces()

VB

Public Function CullDegenerateFaces As Integer

Return Value

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

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

MeshFaceList Class
Rhino.Geometry.Collections Namespace

⚠️ **GitHub.com Fallback** ⚠️