show that ghost status gets lost

This commit is contained in:
Andreas Fabri 2024-05-14 13:28:40 +01:00
parent a0cd7f8926
commit 516ef8f4c4
1 changed files with 6 additions and 0 deletions

View File

@ -51,6 +51,12 @@ int main(int, char**)
in >> dtos2; in >> dtos2;
in.close(); in.close();
std::cout << "After write/read triangulation has dimension: " << dtos2.dimension() << " and\n";
std::cout << dtos2.number_of_vertices() << " vertices" << std::endl;
std::cout << dtos2.number_of_edges() << " edges" << std::endl;
std::cout << dtos2.number_of_solid_faces() << " solid faces" << std::endl;
std::cout << dtos2.number_of_ghost_faces() << " ghost faces" << std::endl;
CGAL::IO::write_OFF("dtos2.off", dtos2, CGAL::parameters::stream_precision(17)); CGAL::IO::write_OFF("dtos2.off", dtos2, CGAL::parameters::stream_precision(17));