X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FARCHIMEDE%2FArchimede_VolumeSection.cxx;h=ec5fbdbea6c752d9841c72221219bcbe79f0fbc0;hb=6e638ed22140cb8c1a65e73c43541e44b2aa3bf5;hp=86d058af3edb6146c072744914e7f1f4446eee42;hpb=0f1369c27fd6a84ba1149c3c5f3ed181acc055f1;p=modules%2Fgeom.git diff --git a/src/ARCHIMEDE/Archimede_VolumeSection.cxx b/src/ARCHIMEDE/Archimede_VolumeSection.cxx index 86d058af3..ec5fbdbea 100644 --- a/src/ARCHIMEDE/Archimede_VolumeSection.cxx +++ b/src/ARCHIMEDE/Archimede_VolumeSection.cxx @@ -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 // // // @@ -26,11 +26,11 @@ // Module : GEOM // $Header$ -using namespace std; +#include + #include "Archimede_VolumeSection.hxx" #include "utilities.h" -#include #include #include #include @@ -120,8 +120,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 € dire le centre de gravit‰ + //g‰om‰trique de la boite englobante InitPoint.SetX(0.5 * (Xmin + Xmax)); InitPoint.SetY(0.5 * (Ymin + Ymax)); @@ -155,7 +155,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‰s par le plan de section for (i=1;i<=nbTriangles;i++) { @@ -379,7 +379,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 ‰l‰mentaire de chaque t‰traedre € partir de 3 points Standard_Real VolumeSection::ElementaryVolume(gp_Pnt P1,gp_Pnt P2,gp_Pnt P3) { Standard_Real Determinant; @@ -406,3 +406,4 @@ void VolumeSection::getZ( double& min, double& max) min = Zmin; max = Zmax; } +