X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=idl%2FSMESH_Measurements.idl;h=726f543ec1e8cfa97a929ba85fbc29b96dc4dba2;hb=907c315580012ca7e75c640c88f79e3ff2239276;hp=0315022f292f85cd8b9aca475ec1e0ccd7e1aad3;hpb=b0a908c0d20341651771d0249fb10882f54b2aad;p=modules%2Fsmesh.git diff --git a/idl/SMESH_Measurements.idl b/idl/SMESH_Measurements.idl index 0315022f2..726f543ec 100644 --- a/idl/SMESH_Measurements.idl +++ b/idl/SMESH_Measurements.idl @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2014 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