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