Salome HOME
First publish of HEXABLOCKcomponant
[modules/hexablock.git] / idl / Vertex.idl
1 #ifndef __Vertex_idl__
2 #define __Vertex_idl__
3 /*!
4  \defgroup EXAMPLES SALOME EXAMPLES components
5  */
6 #include "SALOME_Exception.idl"
7 #include "SALOME_GenericObj.idl"
8
9 #include "GEOM_Gen.idl"
10
11 #include "Element.idl"
12
13
14 /*!  \ingroup EXAMPLES
15
16 This package contains the interface HEXABLOCK_ORB used 
17 for  %HEXABLOCK component 
18 */
19 module HEXABLOCK_ORB
20 {
21
22     interface Vertex : Element
23     {
24         double getX() raises (SALOME::SALOME_Exception);
25         double getY() raises (SALOME::SALOME_Exception);
26         double getZ() raises (SALOME::SALOME_Exception);
27
28         void setX( in double x ) raises (SALOME::SALOME_Exception);
29         void setY( in double y ) raises (SALOME::SALOME_Exception);
30         void setZ( in double z ) raises (SALOME::SALOME_Exception);
31
32         void setAssociation( in GEOM::GEOM_Object geom_object_vertex )
33             raises (SALOME::SALOME_Exception);
34
35         GEOM::GEOM_Object getAssociation()
36             raises (SALOME::SALOME_Exception);
37 // 
38 //         void removeAssociation()
39 //             raises (SALOME::SALOME_Exception);
40
41         void setScalar( in double val ) //CS_NOT_SPEC
42                 raises (SALOME::SALOME_Exception);
43
44     };
45
46
47 };
48
49 #endif
50