Commit 3d26ee3c authored by Isaak Lim's avatar Isaak Lim

return dumb Handle for find_halfedge

parent 2288f4f9
......@@ -886,7 +886,9 @@ void expose_mesh(py::module& m, const char *_name) {
.def("opposite_face_handle", &Mesh::opposite_face_handle)
.def("adjust_outgoing_halfedge", &Mesh::adjust_outgoing_halfedge)
.def("find_halfedge", &Mesh::find_halfedge)
.def("find_halfedge", [](Mesh& _self, OM::VertexHandle _vh0, OM::VertexHandle _vh1) {
return static_cast<OM::HalfedgeHandle>(_self.find_halfedge(_vh0, _vh1));
})
.def("valence", valence_vh)
.def("valence", valence_fh)
.def("is_simple_link", &Mesh::is_simple_link)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment