M_Rhino_Geometry_Collections_MeshNgonList_GetNgonCenter - mcneel/rhinocommon-api-docs GitHub Wiki
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
C#
public Point3d GetNgonCenter(
MeshNgon ngon
)
VB
Public Function GetNgonCenter (
ngon As MeshNgon
) As Point3d
- ngon
- Type: Rhino.Geometry.MeshNgon
An ngon.
Type: Point3d
The center point.
Supported in: 6.0.16224.21491
MeshNgonList Class
GetNgonCenter Overload
Rhino.Geometry.Collections Namespace