MeshNgonListGetNgonCenter Method (Int32) |
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
Syntax 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.
See Also