Salome HOME
Copyright update: 2016
[modules/homard.git] / src / HOMARD_I / HOMARD_Boundary_i.hxx
index 4a41cc92155deadbb16bd7c62209980f3e19eb8f..ba26c743695bee61ace8a0f5e82614772b79cd3c 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2011-2012  CEA/DEN, EDF R&D
+// Copyright (C) 2011-2016  CEA/DEN, EDF R&D
 //
 // 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.
+// 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
@@ -16,6 +16,7 @@
 //
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 // Remarques :
 // L'ordre de description des fonctions est le meme dans tous les fichiers
 // HOMARD_aaaa.idl, HOMARD_aaaa.hxx, HOMARD_aaaa.cxx, HOMARD_aaaa_i.hxx, HOMARD_aaaa_i.cxx :
@@ -33,6 +34,7 @@
 #include CORBA_SERVER_HEADER(HOMARD_Gen)
 #include CORBA_SERVER_HEADER(HOMARD_Boundary)
 
+#include "HOMARD_i.hxx"
 #include "SALOME_Component_i.hxx"
 #include "SALOME_NamingService.hxx"
 #include "Utils_CorbaException.hxx"
@@ -41,7 +43,7 @@
 
 class HOMARD_Boundary;
 
-class HOMARD_Boundary_i:
+class HOMARDENGINE_EXPORT HOMARD_Boundary_i:
   public virtual Engines_Component_i,
   public virtual POA_HOMARD::HOMARD_Boundary,
   public virtual PortableServer::ServantBase
@@ -82,6 +84,9 @@ public:
                                    double Xcentre2, double Ycentre2, double Zcentre2, double Rayon2);
   void                   SetConeA( double Xaxe, double Yaxe, double Zaxe, double Angle,
                                    double Xcentre, double Ycentre, double ZCentre);
+  void                   SetTorus( double Xcentre, double Ycentre, double ZCentre,
+                                      double Xaxe, double Yaxe, double Zaxe,
+                                      double rayonRev, double rayonPri );
 
   HOMARD::double_array*  GetCoords();