Salome HOME
bos #23972 [CEA 19980] sphinxcontrib_napoleon is not needed with Sphinx >= 1.3
[modules/smesh.git] / idl / SMESH_Measurements.idl
index cb6d68acfb902d68339c01382ec2c42a678ab64e..726f543ec1e8cfa97a929ba85fbc29b96dc4dba2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2020  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -31,7 +31,6 @@
 
 module SMESH
 {
-
   /*
    * Measure component
    */
@@ -70,7 +69,17 @@ module SMESH
      * sum of volume of 3D elements of the source
      */
     double Volume(in SMESH_IDSource source);
+
+    /*!
+     * gravity center of the source
+     */
+    PointStruct GravityCenter(in SMESH_IDSource source);
+
+    /*!
+     * angle in radians defined by 3 points <(p1,p2,p3)
+     */
+    double Angle(in PointStruct p1, in PointStruct p2, in PointStruct p3 );
   };
-};    
+};
 
 #endif