2 // class : Gestion des formes associees (Hexa 5)
7 #include "Hex_defines.hxx"
8 #include "HexEdgeShape.hxx"
10 #include <TopTools_IndexedMapOfShape.hxx>
11 #include <TopoDS_Shape.hxx>
15 class HEXABLOCKENGINE_EXPORT AssoEdge
18 AssoEdge (EdgeShape* shape, double deb, double fin);
19 virtual ~AssoEdge () {}
21 EdgeShape* getEdgeShape() { return arc_line; }
22 BRepAdaptor_Curve* getCurve () { return arc_curve; }
23 double getStart () { return arc_para1; }
24 double getEnd () { return arc_para2; }
26 double getUstart (); // for Mesh Plugin
29 const double* getOrigin () { return arc_start; }
30 const double* getExtrem () { return arc_end; }
32 int onExtremity (AssoEdge* other, int& ext_other);
33 int onExtremity (double* point);
36 void saveXml (XmlWriter* xml);
38 void setStart (double param);
39 void setEnd (double param);
43 double arc_para1, arc_para2;
47 Real3 arc_start, arc_end;
48 BRepAdaptor_Curve* arc_curve; // Duplication a cause du plugin BP