Salome HOME
Merge from V6_main_20120808 08Aug12
[modules/homard.git] / idl / HOMARD_Zone.idl
index cc337b2a296e52b7adc6786b167467628cb00905..1ae7aaec06875d9e29610c55e63df2586e0ace93 100644 (file)
@@ -1,14 +1,35 @@
+// Copyright (C) 2011-2012  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.
+//
+// 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
+//
+
 #ifndef _HOMARD_Zone_IDL
 #define _HOMARD_Zone_IDL
 
+#include "SALOME_Component.idl"
 #include "SALOME_Exception.idl"
+#include "SALOMEDS.idl"
 
 module HOMARD
 {
   typedef sequence<double    > double_array ;
   typedef sequence<string    > listeHypo ;
 
-  interface HOMARD_Zone
+  interface HOMARD_Zone : Engines::EngineComponent
   {
 
     void     SetName (in string NomZone)                   raises (SALOME::SALOME_Exception);
@@ -17,13 +38,20 @@ module HOMARD
     void     SetZoneType (in long ZoneType)                raises (SALOME::SALOME_Exception);
     long     GetZoneType()                                 raises (SALOME::SALOME_Exception);
 
-    void     SetBox    (in double Xmini, in double Xmaxi, in double Ymini, 
+    void     SetBox    (in double Xmini, in double Xmaxi, in double Ymini,
                         in double Ymaxi, in double Zmini, in double Zmaxi)
                                                            raises (SALOME::SALOME_Exception);
-    double_array GetBox()                                  raises (SALOME::SALOME_Exception);
     void     SetSphere (in double Xcentre, in double Ycentre, in double Zcentre, in double rayon)
                                                            raises (SALOME::SALOME_Exception);
-    double_array GetSphere()                               raises (SALOME::SALOME_Exception);
+    void     SetCylinder (in double Xcentre, in double Ycentre, in double Zcentre,
+                          in double Xaxis, in double Yaxis, in double Zaxis,
+                          in double Rayon, in double Haut)
+                                                           raises (SALOME::SALOME_Exception);
+    void     SetPipe( in double Xcentre, in double Ycentre, in double ZCentre,
+                      in double Xaxis, in double Yaxis, in double Zaxis,
+                      in double Rayon, in double Haut, in double Rayonint )
+                                                           raises (SALOME::SALOME_Exception);
+    double_array GetCoords()                               raises (SALOME::SALOME_Exception);
     void     SetLimit (in double Xincr, in double Yincr, in double Zincr)
                                                            raises (SALOME::SALOME_Exception);
     double_array GetLimit()                                raises (SALOME::SALOME_Exception);