MeshNgonList.NgonIndexFromFaceIndex Method

MeshNgonListNgonIndexFromFaceIndex Method

Returns the index of a mesh ngon the face belongs to.

Namespace:  Rhino.Geometry.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
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: Int32
The index of the mesh ngon the face belongs to or -1 if the face does not belong to an ngon.
Version Information

Rhino for Windows

Supported in: 6.8
See Also