Click or drag to resize

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)
Syntax
public Point3d GetNgonCenter(
	int index
)

Parameters

index
Type: SystemInt32
A ngon index.

Return Value

Type: Point3d
The center point.
Version Information

Rhino for Windows

Supported in: 6.1 BETA
See Also