Salome HOME
Plane object is added to construction plug-in
[modules/shaper.git] / src / GeomAPI / GeomAPI_Pnt.h
index c04dec42bb5726433682245dd6d337df902e21e0..835e24939a601e84990387ff7e405960d0bd53eb 100644 (file)
@@ -51,6 +51,9 @@ class GEOMAPI_EXPORT GeomAPI_Pnt : public GeomAPI_Interface
   std::shared_ptr<GeomAPI_Pnt2d> to2D(const std::shared_ptr<GeomAPI_Pnt>& theOrigin,
                                         const std::shared_ptr<GeomAPI_Dir>& theDirX,
                                         const std::shared_ptr<GeomAPI_Dir>& theDirY);
+
+  /// Translates the point along direction theDir on distance theDist
+  void translate(const std::shared_ptr<GeomAPI_Dir>& theDir, double theDist);
 };
 
 #endif