#include #include #include #include #include TEST_CASE("RemeshSelfIntersections: CubeWithFold", "[igl/copyleft/cgal]") { Eigen::MatrixXd V; Eigen::MatrixXi F; igl::read_triangle_mesh(test_common::data_path("cube_with_fold.ply"), V, F); typedef CGAL::Exact_predicates_exact_constructions_kernel K; typedef Eigen::Matrix MatrixXe; MatrixXe VV; Eigen::MatrixXi FF, IF; Eigen::VectorXi J, IM; igl::copyleft::cgal::RemeshSelfIntersectionsParam param; igl::copyleft::cgal::remesh_self_intersections(V, F, param, VV, FF, IF, J, IM); }