]> SALOME platform Git repositories - modules/hexablock.git/blob - idl/Edge.idl
Salome HOME
First publish of HEXABLOCKcomponant
[modules/hexablock.git] / idl / Edge.idl
1 #ifndef __Edge_idl__
2 #define __Edge_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 #include "Vertex.idl"
13
14
15 /*!  \ingroup EXAMPLES
16
17 This package contains the interface HEXABLOCK_ORB used 
18 for  %HEXABLOCK component as an example in %SALOME application.
19 */
20 module HEXABLOCK_ORB
21 {
22
23   struct EdgeAssociation
24   {
25     GEOM::GEOM_Object geomObj;
26     double debut;
27     double fin;
28   };
29
30   typedef sequence<EdgeAssociation>  EdgeAssociations;
31
32   interface Edge : Element
33   {
34     Vertex getVertex( in long n ) raises (SALOME::SALOME_Exception);
35     boolean getWay() raises (SALOME::SALOME_Exception);
36
37     long addAssociation (in GEOM::GEOM_Object geom_object_1D, in double debut, in double val ) //CS_NOT_SPEC
38       raises (SALOME::SALOME_Exception);
39
40 //     sequence<EdgeAssociation> getAssociations() //CS_NOT_SPEC
41     EdgeAssociations getAssociations() //CS_NOT_SPEC CS_WARNING: not working when reloading a document
42       raises (SALOME::SALOME_Exception);
43
44 //     void addAssociation( in GEOM::GEOM_Object geom_object_1D, in double debut, in double val )
45 //       raises (SALOME::SALOME_Exception);
46 //     GEOM_Objects getAssociations() raises (SALOME::SALOME_Exception);
47
48 //     GEOM_Objects GEOM::GEOM_Object getAssociation()
49 //             raises (SALOME::SALOME_Exception);
50
51 //     void removeAssociation()
52 //             raises (SALOME::SALOME_Exception);
53
54      void setScalar( in double val ) //CS_NOT_SPEC
55         raises (SALOME::SALOME_Exception);
56
57   };
58
59   typedef sequence<Edge>  Edges;
60
61
62 };
63
64 #endif