Salome HOME
0014047: EDF PAL 334 : Problem to select merged face with Create group window
[modules/geom.git] / src / ARCHIMEDE / Archimede_VolumeSection.cxx
index d354c1f55960f3fcca97e402df23a30fd2ee810a..c488428afcaf820cabcfbcab09f8daa06dd39b4c 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
 //  Module : GEOM
 //  $Header$
 
-using namespace std;
 #include "Archimede_VolumeSection.hxx"
 #include "utilities.h"
 
-#include <iostream.h>
 #include <BRepMesh_IncrementalMesh.hxx>
 #include <TopExp_Explorer.hxx>
 #include <TopLoc_Location.hxx>
@@ -41,14 +39,10 @@ using namespace std;
 #include <TopoDS_Face.hxx>
 #include <TopoDS_Shape.hxx>
 #include <math_Matrix.hxx>
-#include <math.h>
-#include <GC_MakePlane.hxx>
-#include <stdlib.h>
 #include <gp_Trsf.hxx>
 #include <gp_Dir.hxx>
 #include <gp_Ax1.hxx>
 #include <gp_Pnt.hxx>
-#include <gp_Pln.hxx>
 
 #include <GeomAPI_ProjectPointOnSurf.hxx>
 #include <Geom_RectangularTrimmedSurface.hxx>
@@ -120,8 +114,8 @@ void VolumeSection::CenterOfGravity()
        }
     }
   
-  // Creation du point d'initialisation, c'est à dire le centre de gravité 
-  //géométrique de la boite englobante
+  // Creation du point d'initialisation, c'est \80 dire le centre de gravit\89 
+  //g\89om\89trique de la boite englobante
   
   InitPoint.SetX(0.5 * (Xmin + Xmax));
   InitPoint.SetY(0.5 * (Ymin + Ymax));
@@ -155,7 +149,7 @@ Standard_Real VolumeSection::CalculateVolume(Standard_Real Elevation)
       const TColgp_Array1OfPnt& Nodes = Tr->Nodes();
       
       // Calcul des volumes de chaque triangle, de chaque face 
-      //en tenant compte des triangles coupés par le plan de section
+      //en tenant compte des triangles coup\89s par le plan de section
       
       for (i=1;i<=nbTriangles;i++) 
        {
@@ -379,7 +373,7 @@ gp_Pnt VolumeSection::Intersection(gp_Pnt P1,gp_Pnt P2,Standard_Real Hauteur)
   return Point;
 }
 
-//Fonction calculant le volume élémentaire de chaque tétraedre à partir de 3 points
+//Fonction calculant le volume \89l\89mentaire de chaque t\89traedre \80 partir de 3 points
 Standard_Real VolumeSection::ElementaryVolume(gp_Pnt P1,gp_Pnt P2,gp_Pnt P3)
 {
   Standard_Real Determinant;