Hi,

Would it be possible to know what is the math behind the Polyline.CenterPoint() method

https://developer.rhino3d.com/5/api/RhinoCommonWin/html/M_Rhino_Geometry_Polyline_CenterPoint.htm

First I was thinking that it is simple addition of all points divided by number of points.

Point3d center = SumOfallPoints/numberOfAllPoints;

But it is not.