| 10 | using namespace PyMesh; |
| 11 | |
| 12 | void init_SelfIntersectionResolver(py::module& m) { |
| 13 | py::class_<SelfIntersectionResolver, |
| 14 | std::shared_ptr<SelfIntersectionResolver> >( |
| 15 | m, "SelfIntersectionResolver") |
| 16 | .def_static("create", &SelfIntersectionResolver::create) |
| 17 | .def("set_mesh", &SelfIntersectionResolver::set_mesh) |
| 18 | .def("run", &SelfIntersectionResolver::run) |
| 19 | .def("get_vertices", &SelfIntersectionResolver::get_vertices) |
| 20 | .def("get_faces", &SelfIntersectionResolver::get_faces) |
| 21 | .def("get_face_sources", &SelfIntersectionResolver::get_face_sources); |
| 22 | } |