+ optimize B-spline approximation

This commit is contained in:
wmayer
2015-11-03 00:55:15 +01:00
parent 2d4d60d2ab
commit 466d1a60b1
4 changed files with 160 additions and 22 deletions

View File

@@ -160,6 +160,10 @@ private:
throw Py::RuntimeError("Computation of B-Spline surface failed");
}
catch (const Py::Exception&) {
// re-throw
throw;
}
catch (Standard_Failure &e) {
std::string str;
Standard_CString msg = e.GetMessageString();