Click or drag to resize

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
)

Parameters

index
Type: SystemInt32
A ngon index.

Return Value

Type: Point3d
The center point.
See Also