From 45e9662fd40ced1e38583e2ba9f82a4ec53854d7 Mon Sep 17 00:00:00 2001 From: Jane Tournois Date: Mon, 12 May 2025 18:39:00 +0200 Subject: [PATCH] remove cdt_3_full_preprocessing for now --- .../ccdt_3_full_preprocessing.cpp | 47 ------------------- 1 file changed, 47 deletions(-) delete mode 100644 Constrained_triangulation_3/examples/Constrained_triangulation_3/ccdt_3_full_preprocessing.cpp diff --git a/Constrained_triangulation_3/examples/Constrained_triangulation_3/ccdt_3_full_preprocessing.cpp b/Constrained_triangulation_3/examples/Constrained_triangulation_3/ccdt_3_full_preprocessing.cpp deleted file mode 100644 index 5d47520c1dd..00000000000 --- a/Constrained_triangulation_3/examples/Constrained_triangulation_3/ccdt_3_full_preprocessing.cpp +++ /dev/null @@ -1,47 +0,0 @@ -#include - -#include -#include -#include -#include -#include - -#include - -#include - -using K = CGAL::Exact_predicates_inexact_constructions_kernel; -using Point = K::Point_3; -using Surface_mesh = CGAL::Surface_mesh; - -namespace PMP = CGAL::Polygon_mesh_processing; - -int main(int argc, char* argv[]) -{ - const auto filename = (argc > 1) ? argv[1] - : CGAL::data_file_path("meshes/mpi_and_sphere.off"); - - CGAL::Surface_mesh mesh; - std::ifstream in(filename); - if(!in || !(in >> mesh)) { - std::cerr << "Error: cannot read file " << filename << std::endl; - return EXIT_FAILURE; - } - - // TODO : add full preprocessing pipeline - - - - - std::cout << "Number of facets after preprocessing: " - << mesh.number_of_faces() << "\n"; - - auto ccdt = CGAL::make_conforming_constrained_Delaunay_triangulation_3(mesh); - - std::cout << "Number of constrained facets in the CDT: " - << ccdt.number_of_constrained_facets() << '\n'; - - CGAL::draw(ccdt); - - return EXIT_SUCCESS; -}