X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Lin.h;h=71048019cdd90890436c36c5cebbd10aa6b47027;hb=f60dc9dd94d5d4b0ea07e3e3cbfd5b3028f0942d;hp=e8c91e2e4d17495481cf7226066ba496a026030f;hpb=b3695c3af5289903f1c0fa01bbb7c40203c5e544;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Lin.h b/src/GeomAPI/GeomAPI_Lin.h index e8c91e2e4..71048019c 100644 --- a/src/GeomAPI/GeomAPI_Lin.h +++ b/src/GeomAPI/GeomAPI_Lin.h @@ -68,6 +68,10 @@ class GeomAPI_Lin : public GeomAPI_Interface const std::shared_ptr project( const std::shared_ptr& thePoint) const; + /// Returns parameter of the point projection + GEOMAPI_EXPORT + double projParam(const std::shared_ptr& thePoint) const; + /// \return true if this line contains thePoint, that is, /// if the distance between thePoint and this line /// is less than or equal to theLinearTolerance.