Click or drag to resize

MeshNgonListAddPlanarNgons Method (Double, Int32, Int32, Boolean)

Add an ngon for each group of connected coplanar faces.

Namespace:  Rhino.Geometry.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public int AddPlanarNgons(
	double planarTolerance,
	int minimumNgonVertexCount,
	int minimumNgonFaceCount,
	bool allowHoles
)

Parameters

planarTolerance
Type: SystemDouble
3d distance tolerance for coplanar test.
minimumNgonVertexCount
Type: SystemInt32
Mininimum number of vertices for an ngon.
minimumNgonFaceCount
Type: SystemInt32
Minimum number of faces for an ngon.
allowHoles
Type: SystemBoolean
Determines whether the ngon can have inner boundaries.

Return Value

Type: Int32
Number of ngons added to the mesh.
Version Information

Rhino for Windows

Supported in: 6.1 BETA
See Also