Salome HOME
High level objects history implementation for BuildPlugin features.
[modules/shaper.git] / src / GeomAPI / GeomAPI_Lin.h
index e8c91e2e4d17495481cf7226066ba496a026030f..71048019cdd90890436c36c5cebbd10aa6b47027 100644 (file)
@@ -68,6 +68,10 @@ class GeomAPI_Lin : public GeomAPI_Interface
   const std::shared_ptr<GeomAPI_Pnt> project(
       const std::shared_ptr<GeomAPI_Pnt>& thePoint) const;
 
+  /// Returns parameter of the point projection
+  GEOMAPI_EXPORT
+  double projParam(const std::shared_ptr<GeomAPI_Pnt>& 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.