M_Rhino_Geometry_Collections_MeshNgonList_NgonIndexFromFaceIndex - mcneel/rhinocommon-api-docs GitHub Wiki
Returns the index of a mesh ngon the face belongs to.
Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public int NgonIndexFromFaceIndex(
int meshFaceIndex
)
VB
Public Function NgonIndexFromFaceIndex (
meshFaceIndex As Integer
) As Integer
- meshFaceIndex
- Type: System.Int32
Index of a mesh face.
Type: Int32
The index of the mesh ngon the face belongs to or -1 if the face does not belong to an ngon.
Supported in: 6.0.16224.21491