M_Rhino_Geometry_Polyline_CenterPoint - mcneel/rhinocommon-api-docs GitHub Wiki

Polyline.CenterPoint Method

Compute the center point of the polyline as the weighted average of all segments.

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

Syntax

C#

public Point3d CenterPoint()

VB

Public Function CenterPoint As Point3d

Return Value

Type: Point3d
The weighted average of all segments.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Polyline Class
Rhino.Geometry Namespace

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