Skip to content

Instantly share code, notes, and snippets.

View danielyan86129's full-sized avatar

danielyan86129 danielyan86129

  • washington university in st louis
View GitHub Profile
@danielyan86129
danielyan86129 / main.cpp
Last active June 4, 2019 18:15
Test cgal's fair() function using a cube mesh with a hole
/* adapted from cgal's example
** The purpose is to test fair() and expose issues,
** e.g. the faired region contains bad vertices (NaN)
*/
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Polygon_mesh_processing/fair.h>
#include <CGAL/Polygon_mesh_processing/random_perturbation.h>
#include <CGAL/Polygon_mesh_processing/refine.h>
#include <CGAL/Polygon_mesh_processing/triangulate_hole.h>