]> SALOME platform Git repositories - modules/homard.git/blob - idl/HOMARD_Zone.idl
Salome HOME
Merge from V6_3_BR 06/06/2011
[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_Exception.idl"
24
25 module HOMARD
26 {
27   typedef sequence<double    > double_array ;
28   typedef sequence<string    > listeHypo ;
29
30   interface HOMARD_Zone
31   {
32
33     void     SetName (in string NomZone)                   raises (SALOME::SALOME_Exception);
34     string   GetName ()                                    raises (SALOME::SALOME_Exception);
35
36     void     SetZoneType (in long ZoneType)                raises (SALOME::SALOME_Exception);
37     long     GetZoneType()                                 raises (SALOME::SALOME_Exception);
38
39     void     SetBox    (in double Xmini, in double Xmaxi, in double Ymini, 
40                         in double Ymaxi, in double Zmini, in double Zmaxi)
41                                                            raises (SALOME::SALOME_Exception);
42     double_array GetBox()                                  raises (SALOME::SALOME_Exception);
43     void     SetSphere (in double Xcentre, in double Ycentre, in double Zcentre, in double rayon)
44                                                            raises (SALOME::SALOME_Exception);
45     double_array GetSphere()                               raises (SALOME::SALOME_Exception);
46     void     SetLimit (in double Xincr, in double Yincr, in double Zincr)
47                                                            raises (SALOME::SALOME_Exception);
48     double_array GetLimit()                                raises (SALOME::SALOME_Exception);
49
50     void     AddHypo(in string NomHypo)                    raises (SALOME::SALOME_Exception);
51     void     SupprHypo(in string NomHypo)                  raises (SALOME::SALOME_Exception);
52     listeHypo GetHypo()                                    raises (SALOME::SALOME_Exception);
53
54     string   GetDumpPython()                               raises (SALOME::SALOME_Exception);
55
56   };
57 };
58 #endif