2 // class : Gestion des formes associees (Hexa 5)
7 #include "HexEltBase.hxx"
9 #include <TopoDS_Shape.hxx>
13 class SubShape : public EltBase
16 SubShape (NewShape* dad, int id, int dim);
17 NewShape* getParentShape() const { return ss_parent; }
18 cpchar getParentName () const;
19 int getIdent () { return sub_ident ; }
20 int getDim () { return sub_dim ; }
22 const string& getBrep ();
23 virtual const TopoDS_Shape& getShape ();
25 void saveXml (XmlWriter* xml);
26 void callXml (XmlWriter* xml);
35 int sub_dim; // 0 = point, 1 = arete, 2 = face;
37 TopoDS_Shape geo_shape;
39 bool maj_brep, maj_shape;