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

public Point3d GetNgonCenter( MeshNgon ngon )
Public Function GetNgonCenter ( ngon As MeshNgon ) As Point3d
Parameters
- ngon
- Type: Rhino.GeometryMeshNgon
An ngon.
Return Value
Type: Point3dThe center point.
