From f5ec9b05b76ab3bfb9f619260be0b0825b61e207 Mon Sep 17 00:00:00 2001 From: albert-github Date: Mon, 23 Dec 2024 15:23:47 +0100 Subject: [PATCH 1/2] Spelling correction Spelling correction Note: we also have a similar spelling error in: ``` Surface_mesh_skeletonization/benchmark/Surface_mesh_skeletonization/mcf_scale_invariance.cpp:104: output.open("correspondance.cgal"); Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/MCF_Skeleton_example.cpp:68: output.open("correspondance-poly.polylines.txt"); Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/MCF_Skeleton_LCC_example.cpp:66: output.open("correspondance-lcc.polylines.txt"); Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/MCF_Skeleton_om_example.cpp:75: output.open("correspondance-sm.polylines.txt"); Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/MCF_Skeleton_sm_example.cpp:67: output.open("correspondance-sm.polylines.txt"); Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/simple_mcfskel_example.cpp:72: output.open("correspondance-poly.polylines.txt"); Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/simple_mcfskel_LCC_example.cpp:72: output.open("correspondance-lcc.polylines.txt"); Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/simple_mcfskel_sm_example.cpp:51: output.open("correspondance-sm.polylines.txt"); ``` but as this in filenames I didn't change it. --- .../internal/Corefinement/Face_graph_output_builder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Corefinement/Face_graph_output_builder.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Corefinement/Face_graph_output_builder.h index 44c4756c9ace..925303c6f32c 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Corefinement/Face_graph_output_builder.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Corefinement/Face_graph_output_builder.h @@ -1852,7 +1852,7 @@ class Face_graph_output_builder if (coplanar_patches_of_tm1.test(patch_id)) { // Two "identical" coplanar patches that are entire connected components - //we have the correspondance between cpln patches thanks to faces in tm1_coplanar_faces and tm2_coplanar_faces + // we have the correspondence between cpln patches thanks to faces in tm1_coplanar_faces and tm2_coplanar_faces CGAL_assertion(tm1_coplanar_faces.size()==tm2_coplanar_faces.size()); if (coplanar_tm1_to_coplanar_tm2.empty()) // fill container only once { From 9a860ac3f46b04c4da7b216784e1239dd16b224c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Thu, 26 Dec 2024 11:05:16 +0100 Subject: [PATCH 2/2] rename output file --- .../Surface_mesh_skeletonization/mcf_scale_invariance.cpp | 2 +- .../Surface_mesh_skeletonization/MCF_Skeleton_LCC_example.cpp | 2 +- .../Surface_mesh_skeletonization/MCF_Skeleton_example.cpp | 2 +- .../Surface_mesh_skeletonization/MCF_Skeleton_om_example.cpp | 2 +- .../Surface_mesh_skeletonization/MCF_Skeleton_sm_example.cpp | 2 +- .../Surface_mesh_skeletonization/simple_mcfskel_LCC_example.cpp | 2 +- .../Surface_mesh_skeletonization/simple_mcfskel_example.cpp | 2 +- .../Surface_mesh_skeletonization/simple_mcfskel_sm_example.cpp | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Surface_mesh_skeletonization/benchmark/Surface_mesh_skeletonization/mcf_scale_invariance.cpp b/Surface_mesh_skeletonization/benchmark/Surface_mesh_skeletonization/mcf_scale_invariance.cpp index 68724128bb98..80f0cfefa6c7 100644 --- a/Surface_mesh_skeletonization/benchmark/Surface_mesh_skeletonization/mcf_scale_invariance.cpp +++ b/Surface_mesh_skeletonization/benchmark/Surface_mesh_skeletonization/mcf_scale_invariance.cpp @@ -101,7 +101,7 @@ int main(int argc, char* argv[]) output.close(); // Output skeleton points and the corresponding surface points - output.open("correspondance.cgal"); + output.open("correspondence.cgal"); for(Skeleton_vertex v : vertices(skeleton)) for(vertex_descriptor vd : skeleton[v].vertices) output << "2 " << skeleton[v].point << " " << get(CGAL::vertex_point, tmesh, vd) << "\n"; diff --git a/Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/MCF_Skeleton_LCC_example.cpp b/Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/MCF_Skeleton_LCC_example.cpp index dd62887970c7..8231a94b2fb4 100644 --- a/Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/MCF_Skeleton_LCC_example.cpp +++ b/Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/MCF_Skeleton_LCC_example.cpp @@ -63,7 +63,7 @@ int main() output.close(); // Output skeleton points and the corresponding surface points - output.open("correspondance-lcc.polylines.txt"); + output.open("correspondence-lcc.polylines.txt"); for(Skeleton_vertex v : CGAL::make_range(vertices(skeleton))) for(vertex_descriptor vd : skeleton[v].vertices) output << "2 " << skeleton[v].point << " " << get(CGAL::vertex_point, lcc, vd) << "\n"; diff --git a/Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/MCF_Skeleton_example.cpp b/Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/MCF_Skeleton_example.cpp index 27feb13cf085..dd9f23e4b16c 100644 --- a/Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/MCF_Skeleton_example.cpp +++ b/Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/MCF_Skeleton_example.cpp @@ -65,7 +65,7 @@ int main(int argc, char* argv[]) output.close(); // Output skeleton points and the corresponding surface points - output.open("correspondance-poly.polylines.txt"); + output.open("correspondence-poly.polylines.txt"); for(Skeleton_vertex v : CGAL::make_range(vertices(skeleton))) for(vertex_descriptor vd : skeleton[v].vertices) output << "2 " << skeleton[v].point << " " << get(CGAL::vertex_point, tmesh, vd) << "\n"; diff --git a/Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/MCF_Skeleton_om_example.cpp b/Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/MCF_Skeleton_om_example.cpp index 553ef55c50fa..acbd581434a5 100644 --- a/Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/MCF_Skeleton_om_example.cpp +++ b/Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/MCF_Skeleton_om_example.cpp @@ -72,7 +72,7 @@ int main(int argc, char* argv[]) output.close(); // Output skeleton points and the corresponding surface points - output.open("correspondance-sm.polylines.txt"); + output.open("correspondence-sm.polylines.txt"); for(Skeleton_vertex v : CGAL::make_range(vertices(skeleton))) for(vertex_descriptor vd : skeleton[v].vertices) output << "2 " << skeleton[v].point << " " << get(CGAL::vertex_point, tmesh, vd) << "\n"; diff --git a/Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/MCF_Skeleton_sm_example.cpp b/Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/MCF_Skeleton_sm_example.cpp index 04ab407e0751..e17ddd6fd459 100644 --- a/Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/MCF_Skeleton_sm_example.cpp +++ b/Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/MCF_Skeleton_sm_example.cpp @@ -64,7 +64,7 @@ int main(int argc, char* argv[]) output.close(); // Output skeleton points and the corresponding surface points - output.open("correspondance-sm.polylines.txt"); + output.open("correspondence-sm.polylines.txt"); for(Skeleton_vertex v : CGAL::make_range(vertices(skeleton))) for(vertex_descriptor vd : skeleton[v].vertices) output << "2 " << skeleton[v].point << " " << get(CGAL::vertex_point, tmesh, vd) << "\n"; diff --git a/Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/simple_mcfskel_LCC_example.cpp b/Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/simple_mcfskel_LCC_example.cpp index 83f07c3d25da..6fe3051e353a 100644 --- a/Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/simple_mcfskel_LCC_example.cpp +++ b/Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/simple_mcfskel_LCC_example.cpp @@ -69,7 +69,7 @@ int main() output.close(); // Output skeleton points and the corresponding surface points - output.open("correspondance-lcc.polylines.txt"); + output.open("correspondence-lcc.polylines.txt"); for(Skeleton_vertex v : CGAL::make_range(vertices(skeleton))) for(vertex_descriptor vd : skeleton[v].vertices) output << "2 " << skeleton[v].point << " " diff --git a/Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/simple_mcfskel_example.cpp b/Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/simple_mcfskel_example.cpp index 29ac6e27d2dd..f292f4341309 100644 --- a/Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/simple_mcfskel_example.cpp +++ b/Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/simple_mcfskel_example.cpp @@ -69,7 +69,7 @@ int main(int argc, char* argv[]) output.close(); // Output skeleton points and the corresponding surface points - output.open("correspondance-poly.polylines.txt"); + output.open("correspondence-poly.polylines.txt"); for(Skeleton_vertex v : CGAL::make_range(vertices(skeleton))) for(vertex_descriptor vd : skeleton[v].vertices) output << "2 " << skeleton[v].point << " " diff --git a/Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/simple_mcfskel_sm_example.cpp b/Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/simple_mcfskel_sm_example.cpp index 63c7cbb384f6..c7d7d0625b6a 100644 --- a/Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/simple_mcfskel_sm_example.cpp +++ b/Surface_mesh_skeletonization/examples/Surface_mesh_skeletonization/simple_mcfskel_sm_example.cpp @@ -48,7 +48,7 @@ int main(int argc, char* argv[]) output.close(); // Output skeleton points and the corresponding surface points - output.open("correspondance-sm.polylines.txt"); + output.open("correspondence-sm.polylines.txt"); for(Skeleton_vertex v : CGAL::make_range(vertices(skeleton))) for(vertex_descriptor vd : skeleton[v].vertices) output << "2 " << skeleton[v].point << " " << get(CGAL::vertex_point, tmesh, vd) << "\n";