I want to know the centroid of curve.

I find the AreaMassProperties method.

Can I use it to calculate the centroid ?

But, how to set two parameters,base_point and plane_normal ?

base_point (0,0,0) ?

plane_normal (0,0,1)?

`bool AreaMassProperties(ON_3dPoint base_point, ON_3dVector plane_normal, ON_MassProperties& mp, bool bArea = true, bool bFirstMoments = true, bool bSecondMoments = true, bool bProductMoments = true, double rel_tol = 1.0e-6, double abs_tol = 1.0e-6) const;`