#ifndef __Edge_idl__ #define __Edge_idl__ /*! \defgroup EXAMPLES SALOME EXAMPLES components */ #include "SALOME_Exception.idl" #include "SALOME_GenericObj.idl" #include "GEOM_Gen.idl" #include "Element.idl" #include "Vertex.idl" /*! \ingroup EXAMPLES This package contains the interface HEXABLOCK_ORB used for %HEXABLOCK component as an example in %SALOME application. */ module HEXABLOCK_ORB { struct EdgeAssociation { GEOM::GEOM_Object geomObj; double debut; double fin; }; typedef sequence EdgeAssociations; interface Edge : Element { Vertex getVertex( in long n ) raises (SALOME::SALOME_Exception); boolean getWay() raises (SALOME::SALOME_Exception); long addAssociation (in GEOM::GEOM_Object geom_object_1D, in double debut, in double val ) //CS_NOT_SPEC raises (SALOME::SALOME_Exception); // sequence getAssociations() //CS_NOT_SPEC EdgeAssociations getAssociations() //CS_NOT_SPEC CS_WARNING: not working when reloading a document raises (SALOME::SALOME_Exception); // void addAssociation( in GEOM::GEOM_Object geom_object_1D, in double debut, in double val ) // raises (SALOME::SALOME_Exception); // GEOM_Objects getAssociations() raises (SALOME::SALOME_Exception); // GEOM_Objects GEOM::GEOM_Object getAssociation() // raises (SALOME::SALOME_Exception); // void removeAssociation() // raises (SALOME::SALOME_Exception); void setScalar( in double val ) //CS_NOT_SPEC raises (SALOME::SALOME_Exception); }; typedef sequence Edges; }; #endif