)
add_library(HYDROData SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
-target_link_libraries(HYDROData ${CAS_OCAF} ${QT_LIBRARIES} ${CAS_TKG3d} ${CAS_TKGeomBase} ${CAS_TKGeomAlgo} ${ImageComposer})
+target_link_libraries(HYDROData ${CAS_OCAF} ${CAS_OCAFVIS} ${QT_LIBRARIES} ${CAS_TKG3d} ${CAS_TKGeomBase} ${CAS_TKGeomAlgo} ${ImageComposer})
set(PROJECT_LIBRARIES HYDROData)
for(x = 0; x < 6.28; x += 0.1)
aPoints<<x<<sin(x);
// compute BSpline
- HYDROOperations_BSpline aBSpline(aPoints);
+ HYDROOperations_BSpline aBSpline(aPoints, 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);
+ HYDROOperations_BSpline aBSpline(aPoints, false);
CPPUNIT_ASSERT(!aBSpline.Curve().IsNull());
QPainterPath aPath = aBSpline.ComputePath();
CPPUNIT_ASSERT(!aPath.isEmpty());