diff --git a/src/pyg4ometry/pycgal/Polygon_mesh_processing.cxx b/src/pyg4ometry/pycgal/Polygon_mesh_processing.cxx index d963b8554..f485852fb 100644 --- a/src/pyg4ometry/pycgal/Polygon_mesh_processing.cxx +++ b/src/pyg4ometry/pycgal/Polygon_mesh_processing.cxx @@ -36,11 +36,11 @@ typedef CGAL::Aff_transformation_3 Aff_transformation_3_ECER; #include #include #include -#include +// #include #include #include // #include -#include +// #include #include PYBIND11_MODULE(Polygon_mesh_processing, m) { @@ -92,13 +92,13 @@ PYBIND11_MODULE(Polygon_mesh_processing, m) { m.def("volume", [](Surface_mesh_EPICK &pm1) { return CGAL::to_double(CGAL::Polygon_mesh_processing::volume(pm1)); }); - m.def("isotropic_remeshing", [](Surface_mesh_EPICK &pm1, - double target_mesh_length, int nb_iter) { - return CGAL::Polygon_mesh_processing::isotropic_remeshing( - faces(pm1), target_mesh_length, pm1, - CGAL::parameters::number_of_iterations(nb_iter).protect_constraints( - true)); - }); + // m.def("isotropic_remeshing", [](Surface_mesh_EPICK &pm1, + // double target_mesh_length, int nb_iter) { + // return CGAL::Polygon_mesh_processing::isotropic_remeshing( + // faces(pm1), target_mesh_length, pm1, + // CGAL::parameters::number_of_iterations(nb_iter).protect_constraints( + // true)); + // }); /* m.def("angle_and_area_smoothing", [](Surface_mesh_EPICK &pm1, int nb_iter) { return CGAL::Polygon_mesh_processing::angle_and_area_smoothing(pm1, @@ -163,13 +163,13 @@ PYBIND11_MODULE(Polygon_mesh_processing, m) { m.def("volume", [](Surface_mesh_EPECK &pm1) { return CGAL::to_double(CGAL::Polygon_mesh_processing::volume(pm1)); }); - m.def("isotropic_remeshing", [](Surface_mesh_EPECK &pm1, - double target_mesh_length, int nb_iter) { - return CGAL::Polygon_mesh_processing::isotropic_remeshing( - faces(pm1), target_mesh_length, pm1, - CGAL::parameters::number_of_iterations(nb_iter).protect_constraints( - true)); - }); + // m.def("isotropic_remeshing", [](Surface_mesh_EPECK &pm1, + // double target_mesh_length, int nb_iter) { + // return CGAL::Polygon_mesh_processing::isotropic_remeshing( + // faces(pm1), target_mesh_length, pm1, + // CGAL::parameters::number_of_iterations(nb_iter).protect_constraints( + // true)); + // }); /********************************************************************** ECER diff --git a/src/pyg4ometry/visualisation/VtkViewerNew.py b/src/pyg4ometry/visualisation/VtkViewerNew.py index 8c6694b55..23f42d61c 100644 --- a/src/pyg4ometry/visualisation/VtkViewerNew.py +++ b/src/pyg4ometry/visualisation/VtkViewerNew.py @@ -7,7 +7,8 @@ from .VisualisationOptions import ( getPredefinedMaterialVisOptions as _getPredefinedMaterialVisOptions, ) -from pyg4ometry.pycgal.Polygon_mesh_processing import isotropic_remeshing as _isotropic_remeshing + +# from pyg4ometry.pycgal.Polygon_mesh_processing import isotropic_remeshing as _isotropic_remeshing class VtkViewerNew(_ViewerBase):