M_Rhino_Geometry_Collections_MeshNgonList_GetNgonCenter_1 - mcneel/rhinocommon-api-docs GitHub Wiki

MeshNgonList.GetNgonCenter 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) Version: Rhino 6.0

Syntax

C#

public Point3d GetNgonCenter(
	int index
)

VB

Public Function GetNgonCenter ( 
	index As Integer
) As Point3d

Parameters

 

index
Type: System.Int32
A ngon index.

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** ⚠️