-
Hello, I have a polyedron (CGAL::Polyhedron_3); I would like to write it to a file in .STL format. I know the function CGAL::IO::Write_STL() exists, but how can I feed the function starting from my polyedron? |
Beta Was this translation helpful? Give feedback.
Answered by
afabri
Sep 20, 2022
Replies: 1 comment 1 reply
-
What do you mean with "feeding the function"? When you have a |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
esuig
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What do you mean with "feeding the function"? When you have a
CGAL::Surface_mesh<CGAL::Simple_cartesian<double>::Point_3 > sm;
you just callCGAL::IO::write_STL(std::cout, sm)
. Similar for aCGAL::Polyhedron_3<CGAL::Simple_cartesian<double>>
.