mirror of https://github.com/CGAL/cgal
AW3: Use more iterations in tetrahedral remeshing example (#8903)
## Summary of Changes The default iteration number (1) is too few for the remeshing algorithm to produce something nice, given that we start from a rather nasty triangulation at the end of alpha wrap.  ## Release Management * Affected package(s): `Alpha_wrap_3` * Issue(s) solved (if any): - * Feature/Small Feature (if any): - * License and copyright ownership: no change
This commit is contained in:
commit
6e7bb4b51a
|
|
@ -159,7 +159,9 @@ int main(int argc, char** argv)
|
|||
// edge length of regular tetrahedron with circumradius alpha
|
||||
const double l = 1.6329931618554521 * alpha; // sqrt(8/3)
|
||||
|
||||
CGAL::tetrahedral_isotropic_remeshing(tr, l, CGAL::parameters::remesh_boundaries(false));
|
||||
CGAL::tetrahedral_isotropic_remeshing(tr, l,
|
||||
CGAL::parameters::remesh_boundaries(false)
|
||||
.number_of_iterations(5));
|
||||
|
||||
std::cout << "AFTER: " << tr.number_of_vertices() << " vertices, " << tr.number_of_cells() << " cells" << std::endl;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue