Salome HOME
Fix for "23678: [CEA 13186] messages in the python window" issue.
[modules/smesh.git] / src / SMESH_I / SMESH_Measurements_i.hxx
index 1b2fcc7b0764a51bb4650bbd676a1ef4712e6094..3ba642ca62434912f99e5a61e3ce2ef591675993 100644 (file)
@@ -67,12 +67,24 @@ namespace SMESH
     /*!
      * sum of area of 2D elements of the source
      */
-    double Area(SMESH::SMESH_IDSource_ptr);
+    double Area(SMESH::SMESH_IDSource_ptr theSource);
 
     /*!
      * sum of volume of 3D elements of the source
      */
-    double Volume(SMESH::SMESH_IDSource_ptr);
+    double Volume(SMESH::SMESH_IDSource_ptr theSource);
+
+    /*!
+     * gravity center of the source
+     */
+    SMESH::PointStruct GravityCenter(SMESH::SMESH_IDSource_ptr  theSource);
+
+    /*!
+     * angle in radians defined by 3 points <(p1,p2,p3)
+     */
+    CORBA::Double Angle(const SMESH::PointStruct& p1,
+                        const SMESH::PointStruct& p2,
+                        const SMESH::PointStruct& p3 );
   };
 }