M_Rhino_Geometry_Collections_MeshNgonList_GetNgonCenter - mcneel/rhinocommon-api-docs GitHub Wiki

MeshNgonList.GetNgonCenter Method (MeshNgon)

Gets the center point of an ngon. This the avarage of the corner points.

Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public Point3d GetNgonCenter(
	MeshNgon ngon
)

VB

Public Function GetNgonCenter ( 
	ngon As MeshNgon
) As Point3d

Parameters

 

ngon
Type: Rhino.Geometry.MeshNgon
An ngon.

Return Value

Type: Point3d
The center point.

Version Information

Supported in: 6.0.16224.21491

See Also

Reference

MeshNgonList Class
GetNgonCenter Overload
Rhino.Geometry.Collections Namespace

⚠️ **GitHub.com Fallback** ⚠️