Salome HOME
PR: modifs Gerald 20120216
[modules/homard.git] / idl / HOMARD_Zone.idl
1 // Copyright (C) 2011  CEA/DEN, EDF R&D
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19
20 #ifndef _HOMARD_Zone_IDL
21 #define _HOMARD_Zone_IDL
22
23 #include "SALOME_Component.idl"
24 #include "SALOME_Exception.idl"
25 #include "SALOMEDS.idl"
26
27 module HOMARD
28 {
29   typedef sequence<double    > double_array ;
30   typedef sequence<string    > listeHypo ;
31
32   interface HOMARD_Zone : Engines::EngineComponent
33   {
34
35     void     SetName (in string NomZone)                   raises (SALOME::SALOME_Exception);
36     string   GetName ()                                    raises (SALOME::SALOME_Exception);
37
38     void     SetZoneType (in long ZoneType)                raises (SALOME::SALOME_Exception);
39     long     GetZoneType()                                 raises (SALOME::SALOME_Exception);
40
41     void     SetBox    (in double Xmini, in double Xmaxi, in double Ymini,
42                         in double Ymaxi, in double Zmini, in double Zmaxi)
43                                                            raises (SALOME::SALOME_Exception);
44     void     SetSphere (in double Xcentre, in double Ycentre, in double Zcentre, in double rayon)
45                                                            raises (SALOME::SALOME_Exception);
46     void     SetCylinder (in double Xcentre, in double Ycentre, in double Zcentre,
47                           in double Xaxis, in double Yaxis, in double Zaxis,
48                           in double Rayon, in double Haut)
49                                                            raises (SALOME::SALOME_Exception);
50     void     SetPipe( in double Xcentre, in double Ycentre, in double ZCentre,
51                       in double Xaxis, in double Yaxis, in double Zaxis,
52                       in double Rayon, in double Haut, in double Rayonint )
53                                                            raises (SALOME::SALOME_Exception);
54     double_array GetCoords()                               raises (SALOME::SALOME_Exception);
55     void     SetLimit (in double Xincr, in double Yincr, in double Zincr)
56                                                            raises (SALOME::SALOME_Exception);
57     double_array GetLimit()                                raises (SALOME::SALOME_Exception);
58
59     void     AddHypo(in string NomHypo)                    raises (SALOME::SALOME_Exception);
60     void     SupprHypo(in string NomHypo)                  raises (SALOME::SALOME_Exception);
61     listeHypo GetHypo()                                    raises (SALOME::SALOME_Exception);
62
63     string   GetDumpPython()                               raises (SALOME::SALOME_Exception);
64
65   };
66 };
67 #endif