+ optimize B-spline approximation

This commit is contained in:
wmayer
2015-11-03 00:55:15 +01:00
parent b09a2e6f2c
commit 0d3637ad38
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();