RhinoCommon API
MeshNgonListGetNgonCenter Method (Int32) |
Gets the center point of an ngon.
This the avarage of the corner points.
Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll)

public Point3d GetNgonCenter( int index )
Public Function GetNgonCenter ( index As Integer ) As Point3d
Parameters
- index
- Type: SystemInt32
A ngon index.
Return Value
Type: Point3dThe center point.

Rhino for Windows
Supported in: 6.8