Click or drag to resize

MeshNgonListIsValid Method (Int32)

Tests an ngon to see if the vertex and face references are valid and pass partial boundary validity checks.

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

Parameters

index
Type: SystemInt32
The index of the ngon to test.

Return Value

Type: UInt32
0 if the ngon is not valid, otherwise the number of boundary edges.
Remarks
If the return value is > MeshNgon.BoundaryVertexCount, then the ngon has either inner boundaries or duplicate vertices.
See Also