use rescan_after_load_of_triangulation() in an example

This commit is contained in:
Jane Tournois 2025-04-18 14:13:53 +02:00
parent f975f7e4e0
commit 31e6f05b2b
1 changed files with 6 additions and 0 deletions

View File

@ -70,6 +70,12 @@ int main(int , char* [])
//build a C3T3
C3T3 c3t3;
c3t3.triangulation() = tr;
c3t3.rescan_after_load_of_triangulation();
std::cout << "Number of corners: " << c3t3.number_of_corners() << std::endl;
std::cout << "Number of edges: " << c3t3.number_of_edges() << std::endl;
std::cout << "Number of facets: " << c3t3.number_of_facets() << std::endl;
std::cout << "Number of cells: " << c3t3.number_of_cells() << std::endl;
std::ofstream ofs("c3t3_output.mesh");
CGAL::IO::write_MEDIT(ofs, c3t3);