Click or drag to resize

MeshNgonListGetNgon Method

Returns the mesh ngon at the given index.

Namespace:  Rhino.Geometry.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax
public MeshNgon GetNgon(
	int index
)

Parameters

index
Type: SystemInt32
Index of ngon to get. Must be larger than or equal to zero and smaller than the Ngon Count of the mesh.

Return Value

Type: MeshNgon
The mesh ngon at the given index. This ngon can be MeshNgon.Empty.
See Also