double aTolerance = 1E-2; //TODO
HYDROData_PolylineOperator anOp;
+ bool isIntersected = false;
switch( aPanel->GetMode() )
{
case HYDROGUI_SplitPolylinesDlg::ByPoint:
anOp.Split( doc(), aMainPolyline, aPoint, aTolerance );
break;
case HYDROGUI_SplitPolylinesDlg::ByTool:
- anOp.Split( doc(), aMainPolyline, aToolPolyline, aTolerance );
+ anOp.Split( doc(), aMainPolyline, aToolPolyline, aTolerance, isIntersected);
break;
case HYDROGUI_SplitPolylinesDlg::Split:
anOp.Split( doc(), aPolylinesList, aTolerance );