Salome HOME
tracker_salome #16492 EDF 18458 - Restoregivensubshapes
[modules/geom.git] / src / ARCHIMEDE / Archimede_VolumeSection.hxx
index 70790e4f89ba2562744281d712d4bccbcc02b476..ed0e573b68d598096a4e886e6e8eedb329a389de 100644 (file)
@@ -1,29 +1,29 @@
-//  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2019  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
+// Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 //
-//  This library is free software; you can redistribute it and/or
-//  modify it under the terms of the GNU Lesser General Public
-//  License as published by the Free Software Foundation; either
-//  version 2.1 of the License.
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
 //
-//  This library is distributed in the hope that it will be useful,
-//  but WITHOUT ANY WARRANTY; without even the implied warranty of
-//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-//  Lesser General Public License for more details.
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
 //
-//  You should have received a copy of the GNU Lesser General Public
-//  License along with this library; if not, write to the Free Software
-//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// You should have received a copy of the GNU Lesser General Public
+// 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.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 //  GEOM ARCHIMEDE : algorithm implementation
 //  File   : Archimede_VolumeSection.hxx
 //  Author : Nicolas REJNERI
 //  Module : GEOM
-//  $Header$
 //
 #ifndef ARCHIMEDE_VOLUMESECTION_HXX
 #define ARCHIMEDE_VOLUMESECTION_HXX
@@ -33,7 +33,7 @@
 #include <TopoDS_Shape.hxx>
 #include <Geom_Plane.hxx>
 
-class Handle(Geom_RectangularTrimmedSurface);
+#include <Geom_RectangularTrimmedSurface.hxx>
 
 class VolumeSection{
 
@@ -41,7 +41,7 @@ public:
   // Constructeur effectuant le maillage de peau de la shape
   Standard_EXPORT VolumeSection(TopoDS_Shape , Standard_Real); 
 
-  //Methode qui affecte \80 un point,les coordonn\89es de centre de la boite englobante de la shape 
+  //Methode qui affecte � un point,les coordonn�es de centre de la boite englobante de la shape 
   Standard_EXPORT void CenterOfGravity();
 
   // Methode qui calcule le volume sous un plan Z = h
@@ -50,10 +50,10 @@ public:
   // Methode qui resout l'equation V(h)=constante
   Standard_EXPORT Standard_Real Archimede(Standard_Real , Standard_Real); 
 
-  // Methode permettant de "setter" un plan afin de l'utiliser \80 l'interieur de la classe
+  // Methode permettant de "setter" un plan afin de l'utiliser  l'interieur de la classe
   Standard_EXPORT void SetPlane(Handle (Geom_Plane));
 
-  // Methode permettant de r\89cup\89rer la shape modifi\89\80 l'ext\89rieur de la classe
+  // Methode permettant de r�cup�rer la shape modifi�e � l'ext�rieur de la classe
   Standard_EXPORT TopoDS_Shape GetShape();
 
   // Methode effectuant la rotation du plan et de la shape
@@ -62,10 +62,10 @@ public:
   // Methode effectuant la rotation inverse du plan et de la shape
   Standard_EXPORT Handle (Geom_RectangularTrimmedSurface) InvMakeRotation(gp_Dir,Handle(Geom_RectangularTrimmedSurface));
 
-  // Methode permettant de d\89couper le plan selon une projection de la Shape
+  // Methode permettant de dcouper le plan selon une projection de la Shape
   Standard_EXPORT Handle (Geom_RectangularTrimmedSurface) TrimSurf();
 
-  // Methode permmettant de deplacer le plan jusqu'a la position donn\89e par Archim\88de
+  // Methode permmettant de deplacer le plan jusqu'a la position donn�e par Archim�de
   Standard_EXPORT Handle (Geom_RectangularTrimmedSurface) AjustePlan(Handle(Geom_RectangularTrimmedSurface),Standard_Real,gp_Pnt);
 
   Standard_EXPORT void getZ( double& min, double& max);