Part: Geometry intersect routines throw when OCCT throws

This commit is contained in:
Abdullah Tahiri
2018-10-28 18:32:42 +01:00
committed by wmayer
parent 7c1a218847
commit 396998467b
+2 -2
View File
@@ -482,7 +482,7 @@ bool GeomCurve::intersect( GeomCurve * c,
return false;
}
catch (Standard_Failure& e) {
return false;
throw Base::RuntimeError(e.GetMessageString());
}
}
@@ -1518,7 +1518,7 @@ bool GeomTrimmedCurve::intersectBasisCurves( const GeomTrimmedCurve * c,
return false;
}
catch (Standard_Failure& e) {
return false;
throw Base::RuntimeError(e.GetMessageString());
}
}