#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Mesh_triangulation_3.h>
#include <CGAL/Mesh_complex_3_in_triangulation_3.h>
#include <CGAL/Mesh_criteria_3.h>
#include <CGAL/Polyhedral_mesh_domain_3.h>
#include <CGAL/make_mesh_3.h>
#include <CGAL/refine_mesh_3.h>
#include <CGAL/IO/Polyhedron_iostream.h>
#ifdef CGAL_CONCURRENT_MESH_3
Mesh_domain,
>::type Tr;
#else
#endif
using namespace CGAL::parameters;
int main()
{
Polyhedron polyhedron;
std::ifstream input("data/elephant.off");
input >> polyhedron;
Mesh_domain domain(polyhedron);
Mesh_criteria criteria(facet_angle=25, facet_size=0.15, facet_distance=0.008,
cell_radius_edge_ratio=3);
std::ofstream medit_file("out_1.mesh");
c3t3.output_to_medit(medit_file);
medit_file.close();
Mesh_criteria new_criteria(cell_radius_edge_ratio=3, cell_size=0.03);
medit_file.open("out_2.mesh");
c3t3.output_to_medit(medit_file);
return 0;
}