]> SALOME platform Git repositories - modules/homard.git/blobdiff - idl/HOMARD_Boundary.idl
Salome HOME
Merge from V6_main_20120808 08Aug12
[modules/homard.git] / idl / HOMARD_Boundary.idl
index 628b0b0ffa92c8ba6f2d331a876c9b7d67e62dfb..79131c7b363895448d7ec2e78358b3a31b2feb13 100644 (file)
@@ -1,14 +1,36 @@
+// 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_Boundary_IDL
 #define _HOMARD_Boundary_IDL
 
+#include "SALOME_Component.idl"
 #include "SALOME_Exception.idl"
+#include "SALOMEDS.idl"
+
 #include "HOMARD_Cas.idl"
 #include "HOMARD_Zone.idl"
 
 
 module HOMARD
 {
-  interface HOMARD_Boundary
+  interface HOMARD_Boundary : Engines::EngineComponent
   {
 
     void     SetName (in string NomBoundary)               raises (SALOME::SALOME_Exception);
@@ -26,11 +48,11 @@ module HOMARD
     void     SetCylinder (in double Xcentre, in double Ycentre, in double Zcentre,
                           in double Xaxe, in double Yaxe, in double Zaxe, in double rayon)
                                                            raises (SALOME::SALOME_Exception);
-    HOMARD::double_array GetCylinder()                     raises (SALOME::SALOME_Exception);
 
     void     SetSphere (in double Xcentre, in double Ycentre, in double Zcentre, in double rayon)
                                                            raises (SALOME::SALOME_Exception);
-    HOMARD::double_array GetSphere()                       raises (SALOME::SALOME_Exception);
+
+    HOMARD::double_array GetCoords()                       raises (SALOME::SALOME_Exception);
 
     void     SetLimit (in double Xincr, in double Yincr, in double Zincr)
                                                            raises (SALOME::SALOME_Exception);