Salome HOME
0021920: [CEA 689] Get some measure functions on groups available in GUI and TUI
[modules/smesh.git] / src / SMESH_I / SMESH_Measurements_i.hxx
index 0f1bbadacc89888520970a6fdbdf34170250413f..f7135ae44c970ffc127ab995fe59e1cbce0593dd 100644 (file)
@@ -57,6 +57,22 @@ namespace SMESH
      * common bounding box of entities
      */
     SMESH::Measure BoundingBox(const SMESH::ListOfIDSources& theSources);
+
+
+    /*!
+     * sum of length of 1D elements of the source
+     */
+    double Length(SMESH::SMESH_IDSource_ptr theSource);
+
+    /*!
+     * sum of area of 2D elements of the source
+     */
+    double Area(SMESH::SMESH_IDSource_ptr);
+
+    /*!
+     * sum of volume of 3D elements of the source
+     */
+    double Volume(SMESH::SMESH_IDSource_ptr);
   };
 }