2 // class : Gestion des Sous-shapes categorie Vertex
4 #ifndef __NODE_SHAPE_H_
5 #define __NODE_SHAPE_H_
7 #include "Hex_defines.hxx"
8 #include "HexSubShape.hxx"
12 class HEXABLOCKENGINE_EXPORT VertexShape : public SubShape
15 VertexShape (NewShape* dad, int id);
16 VertexShape (NewShape* dad, int id, double* point);
18 void addAssociation (Vertex* elt);
19 int countAssociation () { return tab_assoc.size(); }
20 Vertex* getAssociation (int nro);
22 void getCoords (double& px, double& py, double& pz);
23 void saveXml (XmlWriter* xml);
25 virtual const TopoDS_Shape& getShape(); // #mbarry
31 Real3 ss_coord; // Pour les vertex
34 vector <Vertex*> tab_assoc;