Salome HOME
Issue #251. Append Export/Import NewGeom commands in the SALOME desktop.
[modules/shaper.git] / src / GeomAPI / GeomAPI_Lin2d.h
index 82afee29a65d5be5a13f8a49538e03b32f001f2b..10089d67a73b72890aece0daa93081b0f8f103d5 100644 (file)
@@ -35,6 +35,9 @@ class GEOMAPI_EXPORT GeomAPI_Lin2d : public GeomAPI_Interface
       const boost::shared_ptr<GeomAPI_Pnt2d>& thePoint) const;
   /// Computes the cross product of the line direction and a vector from the line start point to the point
   bool isRight(const boost::shared_ptr<GeomAPI_Pnt2d>& thePoint) const;
+
+  /// Returns a location point shifted on theShift in perpendicular direction
+  boost::shared_ptr<GeomAPI_Pnt2d> shiftedLocation(double theShift) const;
 };
 
 #endif