-//double ProjectPointToCurve(const gp_XYZ& thePoint,
-// const Adaptor3d_Curve& theCurve,
-// double& theParameter);
+//! Get the parameter of the projected point on the curve, and return the distance of the original point
+double ProjectPointToCurve(const gp_XYZ& thePoint,
+ const Adaptor3d_Curve& theCurve,
+ double& theParameter);