Salome HOME
Updated for PAL14857.
[modules/geom.git] / src / ARCHIMEDE / Archimede_VolumeSection.hxx
index c8b96ba6c45971ffb689cc0b435f1576d1606b91..6dc4c8799255872a7752e7641a08879cc21b9bd3 100644 (file)
@@ -1,12 +1,29 @@
-//  File      : Archimede_VolumeSection.hxx
-//  Created   : Fri Feb 22 09:28:13 CET 2002
-//  Author    : PULV 
-
-//  Modified  : Fri Feb 22 09:28:13 CET 2002
-//  Author    : Nicolas REJNERI
-//  Project   : SALOME
-//  Module    : GEOM
-//  Copyright : Open CASCADE 2002
+//  GEOM ARCHIMEDE : algorithm implementation
+//
+//  Copyright (C) 2003  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 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 
+// 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+//
+//
+//  File   : Archimede_VolumeSection.hxx
+//  Author : Nicolas REJNERI
+//  Module : GEOM
 //  $Header$
 
 #ifndef ARCHIMEDE_VOLUMESECTION_HXX
@@ -22,36 +39,36 @@ class VolumeSection{
 
 public:
   // Constructeur effectuant le maillage de peau de la shape
-  VolumeSection(TopoDS_Shape , Standard_Real); 
+  Standard_EXPORT VolumeSection(TopoDS_Shape , Standard_Real); 
 
-  //Methode qui affecte à un point,les coordonnées de centre de la boite englobante de la shape 
-  void CenterOfGravity();
+  //Methode qui affecte \80 un point,les coordonn\89es de centre de la boite englobante de la shape 
+  Standard_EXPORT void CenterOfGravity();
 
   // Methode qui calcule le volume sous un plan Z = h
-  Standard_Real CalculateVolume(Standard_Real); 
+  Standard_EXPORT Standard_Real CalculateVolume(Standard_Real); 
 
   // Methode qui resout l'equation V(h)=constante
-  Standard_Real Archimede(Standard_Real , Standard_Real); 
+  Standard_EXPORT Standard_Real Archimede(Standard_Real , Standard_Real); 
 
-  // Methode permettant de "setter" un plan afin de l'utiliser à l'interieur de la classe
-  void SetPlane(Handle (Geom_Plane));
+  // Methode permettant de "setter" un plan afin de l'utiliser \80 l'interieur de la classe
+  Standard_EXPORT void SetPlane(Handle (Geom_Plane));
 
-  // Methode permettant de récupérer la shape modifiée à l'extérieur de la classe
-  TopoDS_Shape GetShape();
+  // Methode permettant de r\89cup\89rer la shape modifi\89\80 l'ext\89rieur de la classe
+  Standard_EXPORT TopoDS_Shape GetShape();
 
   // Methode effectuant la rotation du plan et de la shape
-  void MakeRotation(gp_Dir);
+  Standard_EXPORT void MakeRotation(gp_Dir);
 
   // Methode effectuant la rotation inverse du plan et de la shape
-  Handle (Geom_RectangularTrimmedSurface) InvMakeRotation(gp_Dir,Handle(Geom_RectangularTrimmedSurface));
+  Standard_EXPORT Handle (Geom_RectangularTrimmedSurface) InvMakeRotation(gp_Dir,Handle(Geom_RectangularTrimmedSurface));
 
-  // Methode permettant de découper le plan selon une projection de la Shape
-  Handle (Geom_RectangularTrimmedSurface) TrimSurf();
+  // Methode permettant de d\89couper 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ée par Archimède
-  Handle (Geom_RectangularTrimmedSurface) AjustePlan(Handle(Geom_RectangularTrimmedSurface),Standard_Real,gp_Pnt);
+  // Methode permmettant de deplacer le plan jusqu'a la position donn\89e par Archim\88de
+  Standard_EXPORT Handle (Geom_RectangularTrimmedSurface) AjustePlan(Handle(Geom_RectangularTrimmedSurface),Standard_Real,gp_Pnt);
 
-  void getZ( double& min, double& max);
+  Standard_EXPORT void getZ( double& min, double& max);
   
 private: