X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Lin.h;h=71048019cdd90890436c36c5cebbd10aa6b47027;hb=d2034a988bc73596aab1bb256ddb02ce9ad2bd5a;hp=bff2d17e4994aa328516a277786ba5ea251c9595;hpb=a94fc319f2aa64b43c9a73b5ff7063923648faec;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Lin.h b/src/GeomAPI/GeomAPI_Lin.h index bff2d17e4..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. @@ -84,5 +88,8 @@ class GeomAPI_Lin : public GeomAPI_Interface bool isCoplanar(const std::shared_ptr theLin) const; }; +//! Pointer on the object +typedef std::shared_ptr GeomLinePtr; + #endif