Commit 56c54adb authored by Alexander Dielen's avatar Alexander Dielen

added missing ArrayKernel functions

parent 3d6daafc
Pipeline #7183 passed with stages
in 5 minutes and 50 seconds
...@@ -814,6 +814,20 @@ void expose_mesh(py::module& m, const char *_name) { ...@@ -814,6 +814,20 @@ void expose_mesh(py::module& m, const char *_name) {
.def("copy_all_properties", copy_all_properties_fh_fh_bool, .def("copy_all_properties", copy_all_properties_fh_fh_bool,
py::arg("fh_from"), py::arg("fh_to"), py::arg("copy_build_in")=false) py::arg("fh_from"), py::arg("fh_to"), py::arg("copy_build_in")=false)
//======================================================================
// ArrayKernel
//======================================================================
.def("is_valid_handle", (bool (Mesh::*)(OM::VertexHandle) const) &Mesh::is_valid_handle)
.def("is_valid_handle", (bool (Mesh::*)(OM::HalfedgeHandle) const) &Mesh::is_valid_handle)
.def("is_valid_handle", (bool (Mesh::*)(OM::EdgeHandle) const) &Mesh::is_valid_handle)
.def("is_valid_handle", (bool (Mesh::*)(OM::FaceHandle) const) &Mesh::is_valid_handle)
.def("delete_isolated_vertices", [](Mesh& _self) {
if (!_self.has_vertex_status()) _self.request_vertex_status();
_self.delete_isolated_vertices();
})
//====================================================================== //======================================================================
// PolyConnectivity // PolyConnectivity
//====================================================================== //======================================================================
......
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