for(x = 0; x < 6.28; x += 0.1)
aPoints<<x<<sin(x);
// compute BSpline
- HYDROOperations_BSpline aBSpline(aPoints, false);
+ HYDROOperations_BSpline aBSpline(aPoints, 0, false);
Handle(Geom_BSplineCurve) aBS = aBSpline.Curve();
CPPUNIT_ASSERT(!aBS.IsNull());
CPPUNIT_ASSERT(!aBS->IsClosed());
for(x = 0; x < 6.28; x += 0.1)
aPoints<<x*aScale<<sin(x) * aScale;
// convert to QPainterPath
- HYDROOperations_BSpline aBSpline(aPoints, false);
+ HYDROOperations_BSpline aBSpline(aPoints, 0, false);
CPPUNIT_ASSERT(!aBSpline.Curve().IsNull());
QPainterPath aPath = aBSpline.ComputePath();
CPPUNIT_ASSERT(!aPath.isEmpty());