// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
-#include <BRepLib_MakeEdge2d.ixx>
-#include <BRepLib.hxx>
-#include <BRep_Tool.hxx>
#include <BRep_Builder.hxx>
-#include <TopoDS.hxx>
-#include <Geom_Plane.hxx>
-#include <Geom2d_Line.hxx>
+#include <BRep_Tool.hxx>
+#include <BRepLib.hxx>
+#include <BRepLib_MakeEdge2d.hxx>
+#include <ElCLib.hxx>
+#include <ElSLib.hxx>
+#include <Extrema_ExtPC2d.hxx>
#include <Geom2d_Circle.hxx>
+#include <Geom2d_Curve.hxx>
#include <Geom2d_Ellipse.hxx>
-#include <Geom2d_Parabola.hxx>
#include <Geom2d_Hyperbola.hxx>
+#include <Geom2d_Line.hxx>
+#include <Geom2d_Parabola.hxx>
#include <Geom2d_TrimmedCurve.hxx>
#include <Geom2dAdaptor_Curve.hxx>
-#include <Extrema_ExtPC2d.hxx>
+#include <Geom_Plane.hxx>
#include <gp.hxx>
-#include <ElCLib.hxx>
-#include <ElSLib.hxx>
+#include <gp_Circ2d.hxx>
+#include <gp_Elips2d.hxx>
+#include <gp_Hypr2d.hxx>
+#include <gp_Lin2d.hxx>
+#include <gp_Parab2d.hxx>
+#include <gp_Pnt2d.hxx>
#include <Precision.hxx>
-
+#include <StdFail_NotDone.hxx>
+#include <TopoDS.hxx>
+#include <TopoDS_Edge.hxx>
+#include <TopoDS_Vertex.hxx>
//=======================================================================
//function : Point
//purpose : make a 3d point on the current plane
//=======================================================================
-
static gp_Pnt Point(const gp_Pnt2d& P)
{
return BRepLib::Plane()->Value(P.X(),P.Y());