rename output file

This commit is contained in:
Sébastien Loriot 2024-12-26 11:05:16 +01:00
parent f5ec9b05b7
commit 9a860ac3f4
8 changed files with 8 additions and 8 deletions

View File

@ -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";

View File

@ -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";

View File

@ -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";

View File

@ -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";

View File

@ -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";

View File

@ -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 << " "

View File

@ -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 << " "

View File

@ -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";