1 // Copyright (C) 2009-2012 CEA/DEN, EDF R&D
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.
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.
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
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 #ifndef __Vertex_idl__
20 #define __Vertex_idl__
22 \defgroup EXAMPLES SALOME EXAMPLES components
24 #include "SALOME_Exception.idl"
25 #include "SALOME_GenericObj.idl"
27 #include "GEOM_Gen.idl"
29 #include "Element.idl"
34 This package contains the interface HEXABLOCK_ORB used
35 for %HEXABLOCK component
40 interface Vertex : Element
42 double getX() raises (SALOME::SALOME_Exception);
43 double getY() raises (SALOME::SALOME_Exception);
44 double getZ() raises (SALOME::SALOME_Exception);
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);
50 void setAssociation( in GEOM::GEOM_Object geom_object_vertex )
51 raises (SALOME::SALOME_Exception);
53 GEOM::GEOM_Object getAssociation()
54 raises (SALOME::SALOME_Exception);
56 void clearAssociation()
57 raises (SALOME::SALOME_Exception);
59 void setColor (in double value)
60 raises (SALOME::SALOME_Exception);
62 void setScalar( in double val ) //CS_NOT_SPEC --> To delete
63 raises (SALOME::SALOME_Exception);