M_Rhino_Geometry_Collections_MeshNgonList_NgonIndexFromFaceIndex - mcneel/rhinocommon-api-docs GitHub Wiki

MeshNgonList.NgonIndexFromFaceIndex Method

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

Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public int NgonIndexFromFaceIndex(
	int meshFaceIndex
)

VB

Public Function NgonIndexFromFaceIndex ( 
	meshFaceIndex As Integer
) As Integer

Parameters

 

meshFaceIndex
Type: System.Int32
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

Supported in: 6.0.16224.21491

See Also

Reference

MeshNgonList Class
Rhino.Geometry.Collections Namespace

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