Click or drag to resize

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
Syntax
public Point3d GetNgonCenter(
	MeshNgon ngon
)

Parameters

ngon
Type: Rhino.GeometryMeshNgon
An ngon.

Return Value

Type: Point3d
The center point.
See Also