Salome HOME
Get altitude from region implementation.
[modules/hydro.git] / src / HYDROData / HYDROData_ShapesTool.h
index 886b5808e029f90fc79bae6998aabb234e348d96..db50bb204f75979d22c1207566513f6ce69c7d77 100644 (file)
@@ -60,6 +60,19 @@ public:
                                                        const TopoDS_Edge& theSecondEdge,
                                                        const bool         theIs2D = false );
 
+  /**
+   * \brief Translate the shape to the given distance.
+   * \param theShape shape to translate
+   * \param theDx X vector component
+   * \param theDy Y vector component
+   * \param theDz Z vector component
+   * \return result translated shape
+   */
+  static TopoDS_Shape                   Translated( const TopoDS_Shape& theShape,
+                                                    const double        theDx,
+                                                    const double        theDy,
+                                                    const double        theDz );
+
   /**
    * \brief Adds the sequence of shapes to other sequence.
    * \param theShapes sequence to which the shapes will be added