I have created a wire from a list of unsorted edges. Then i want to convert the
wire into a Geom_Curve by using Approx_Curve3d. But the result ist only a part of the
wire. I have used Approx_Curve3d before and it worked well, so i think there might be
a problem with the wire. But I don´t know what.
Can anybody help me?
here is the used code
Handle(ShapeFix_Wire) aShFW = new ShapeFix_Wire();
Handle(ShapeExtend_WireData) aWD = new ShapeExtend_WireData();
aWD.Add(edge) //List of edges
aShFW->ClosedWireMode() = Standard_True;
TopoDS_Wire awire = aShFW->Wire();
if (approx2.IsDone() && approx2.HasResult())