M_Rhino_Geometry_Collections_MeshNgonList_GetNgonCenter_1 - mcneel/rhinocommon-api-docs GitHub Wiki
Gets the center point of an ngon. This the avarage of the corner points.
Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public Point3d GetNgonCenter(
int index
)
VB
Public Function GetNgonCenter (
index As Integer
) As Point3d
- index
- Type: System.Int32
A ngon index.
Type: Point3d
The center point.
Supported in: 6.0.16224.21491
MeshNgonList Class
GetNgonCenter Overload
Rhino.Geometry.Collections Namespace