Skip to content

Instantly share code, notes, and snippets.

View janetournois's full-sized avatar

Jane Tournois janetournois

  • GeometryFactory
  • Sophia Antipolis, France
View GitHub Profile
#define CGAL_MESH_3_VERBOSE 1
#define CGAL_TETRAHEDRAL_REMESHING_VERBOSE
#include "mesh_from_labeled_3d_array_feature_detect.hpp"
#include <cassert>
#include <vector>
#include <iostream>
#include <CGAL/Mesh_triangulation_3.h>
#include <iostream>
#include <fstream>
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Surface_mesh.h>
#include <CGAL/Variational_shape_approximation.h>
typedef CGAL::Exact_predicates_inexact_constructions_kernel Kernel;
typedef Kernel::FT FT;
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <iostream>
typedef CGAL::Exact_predicates_exact_constructions_kernel Epec;
int main(int argc, char* argv[])
{
Epec::FT toto = 0;
Epec::FT one = 1.;
for (int i = 0; i < 5000; ++i)