RhinoCommon API
MeshNgonListNgonIndexFromFaceIndex Method |
Returns the index of a mesh ngon the face belongs to.
Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll)

public int NgonIndexFromFaceIndex( int meshFaceIndex )
Public Function NgonIndexFromFaceIndex ( meshFaceIndex As Integer ) As Integer
Parameters
- meshFaceIndex
- Type: SystemInt32
Index of a mesh face.
Return Value
Type: Int32The index of the mesh ngon the face belongs to or -1 if the face does not belong to an ngon.

Rhino for Windows
Supported in: 6.8