mirror of https://github.com/CGAL/cgal
example cleaning
This commit is contained in:
parent
68b6b6f001
commit
0a9cd33ba2
|
|
@ -1,14 +1,7 @@
|
|||
#define CGAL_TETRAHEDRAL_REMESHING_VERBOSE 1
|
||||
#if defined(CGAL_TEST_SUITE) && ! (defined(__OPTIMIZE__) || defined(NDEBUG))
|
||||
constexpr int NUMBER_OF_ITERATIONS = 1;
|
||||
#else
|
||||
constexpr int NUMBER_OF_ITERATIONS = 10;
|
||||
#endif
|
||||
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
|
||||
|
||||
#include <CGAL/make_conforming_constrained_Delaunay_triangulation_3.h>
|
||||
#include <CGAL/tetrahedral_remeshing.h>
|
||||
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
|
||||
#include <CGAL/draw_triangulation_3.h>
|
||||
#include <CGAL/IO/File_medit.h>
|
||||
|
||||
#include <fstream>
|
||||
|
|
@ -38,12 +31,10 @@ int main(int argc, char* argv[])
|
|||
//! [move ccdt to tr]
|
||||
std::cout << "Number of vertices in tr: " << tr.number_of_vertices() << std::endl;
|
||||
|
||||
CGAL::tetrahedral_isotropic_remeshing(tr, 1.,
|
||||
CGAL::parameters::number_of_iterations(NUMBER_OF_ITERATIONS));
|
||||
CGAL::tetrahedral_isotropic_remeshing(tr, 1.);
|
||||
|
||||
std::cout << "Number of vertices in tr: "
|
||||
<< tr.number_of_vertices() << std::endl;
|
||||
CGAL::draw(tr);
|
||||
|
||||
std::ofstream ofs("out.mesh");
|
||||
CGAL::IO::write_MEDIT(ofs, tr);
|
||||
|
|
|
|||
Loading…
Reference in New Issue