M_Rhino_Geometry_Collections_MeshNgonList_AddPlanarNgons_1 - mcneel/rhinocommon-api-docs GitHub Wiki
Add an ngon for each group of connected coplanar faces.
Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public int AddPlanarNgons(
double planarTolerance,
int minimumNgonVertexCount,
int minimumNgonFaceCount,
bool allowHoles
)
VB
Public Function AddPlanarNgons (
planarTolerance As Double,
minimumNgonVertexCount As Integer,
minimumNgonFaceCount As Integer,
allowHoles As Boolean
) As Integer
- planarTolerance
- Type: System.Double
3d distance tolerance for coplanar test. - minimumNgonVertexCount
- Type: System.Int32
Mininimum number of vertices for an ngon. - minimumNgonFaceCount
- Type: System.Int32
Minimum number of faces for an ngon. - allowHoles
- Type: System.Boolean
Determines whether the ngon can have inner boundaries.
Type: Int32
Number of ngons added to the mesh.
Supported in: 6.0.16224.21491
MeshNgonList Class
AddPlanarNgons Overload
Rhino.Geometry.Collections Namespace