Maybe you should use Handle(Geom_BSplineCurve) hCurve(new Geom_BSplineCurve(Poles, knots, mults, Degree));
Archived discussion
How to use Handle
Geom_BSplineCurve BSC(Poles, knots, mults, Degree);
Handle(Geom_BSplineCurve) hCurve(&BSC);
BRepBuilderAPI_MakeEdge anEdge(hCurve);
const TopoDS_Edge &shape = anEdge.Edge();
I cant understand why this isn't work with error "Invalid address specified to RtlValidateHeap( 00000172A2F50000, 0000002D1691F4E0 )" when I'm trying to use vtk to write a Bsplinecurve.
If someone knows how to resolve these problems, please share your knowledge. Thanks very much!
ok I've found how to use handle which i should use 'new'.
Discussion
1 archived reply
Posts are displayed in their archived order.