X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Curve.h;h=3922217f1deb3c0ac52eccabdd75048c6eb35b3b;hb=ea593bc59e7e9461f6c4e2afd3f24d621edb1011;hp=65ba0d5b755150c8178be3b69b48d4bc09db87dd;hpb=5ef1bee9097c46f0d8effbac12cd5f179b542d0f;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Curve.h b/src/GeomAPI/GeomAPI_Curve.h index 65ba0d5b7..3922217f1 100644 --- a/src/GeomAPI/GeomAPI_Curve.h +++ b/src/GeomAPI/GeomAPI_Curve.h @@ -63,11 +63,11 @@ class GeomAPI_Curve : public GeomAPI_Interface /// Returns start parameter of the curve GEOMAPI_EXPORT - double startParam() const { return myStart; } + double startParam(); /// Returns end parameter of the curve GEOMAPI_EXPORT - double endParam() const { return myEnd; } + double endParam(); /// Returns \c true if the curve is trimmed GEOMAPI_EXPORT @@ -82,6 +82,10 @@ class GeomAPI_Curve : public GeomAPI_Interface GEOMAPI_EXPORT std::shared_ptr getPoint(double theParam); + /// Project point on curve + GEOMAPI_EXPORT const std::shared_ptr project( + const std::shared_ptr& thePoint) const; + public: /// \brief Compare addresses of curves class Comparator