Salome HOME
Merge from V6_main_20120808 08Aug12
[modules/hexablock.git] / idl / Vertex.idl
1 // Copyright (C) 2009-2012  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 #ifndef __Vertex_idl__
20 #define __Vertex_idl__
21 /*!
22  \defgroup EXAMPLES SALOME EXAMPLES components
23  */
24 #include "SALOME_Exception.idl"
25 #include "SALOME_GenericObj.idl"
26
27 #include "GEOM_Gen.idl"
28
29 #include "Element.idl"
30
31
32 /*!  \ingroup EXAMPLES
33
34 This package contains the interface HEXABLOCK_ORB used 
35 for  %HEXABLOCK component 
36 */
37 module HEXABLOCK_ORB
38 {
39
40     interface Vertex : Element
41     {
42         double getX() raises (SALOME::SALOME_Exception);
43         double getY() raises (SALOME::SALOME_Exception);
44         double getZ() raises (SALOME::SALOME_Exception);
45
46         void setX( in double x ) raises (SALOME::SALOME_Exception);
47         void setY( in double y ) raises (SALOME::SALOME_Exception);
48         void setZ( in double z ) raises (SALOME::SALOME_Exception);
49
50         void setAssociation( in GEOM::GEOM_Object geom_object_vertex )
51             raises (SALOME::SALOME_Exception);
52
53         GEOM::GEOM_Object getAssociation()
54             raises (SALOME::SALOME_Exception);
55
56         void clearAssociation()
57             raises (SALOME::SALOME_Exception);
58
59         void setScalar( in double val ) //CS_NOT_SPEC
60                 raises (SALOME::SALOME_Exception);
61
62     };
63
64
65 };
66
67 #endif
68