Click or drag to resize

MeshNgonListNgonHasHoles Method

Determines whether a ngon has holes.

Namespace:  Rhino.Geometry.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.0
public bool NgonHasHoles(
	int index


Type: SystemInt32
Ngon index.

Return Value

Type: Boolean
true for holes (or malformed ngon, see remarks), false for no holes.
A slit, for example, will give an edge count that differs from outer edge count despite the lack of true "holes" i.e. interior edges that are not shared by more than one face of the ngon in question.
See Also