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