| 11 | using namespace PyMesh; |
| 12 | |
| 13 | SelfIntersectionResolver::Ptr SelfIntersectionResolver::create( |
| 14 | const std::string& engine_name) { |
| 15 | #ifdef WITH_IGL_AND_CGAL |
| 16 | if (engine_name == "igl") { |
| 17 | return Ptr(new IGLSelfIntersectionResolver); |
| 18 | } |
| 19 | #endif |
| 20 | |
| 21 | std::stringstream err_msg; |
| 22 | err_msg << "Self-intersection engine \"" << engine_name |
| 23 | << "\" is not supported"; |
| 24 | throw NotImplementedError(err_msg.str()); |
| 25 | } |
nothing calls this directly
no test coverage detected