Skip to content

Instantly share code, notes, and snippets.

@benlaurie
benlaurie / bug.cc
Created February 3, 2021 02:55
! K().collinear_3_object()(p,q,r)
#include <CGAL/Cartesian.h>
#include <CGAL/Polygon_mesh_processing/bbox.h>
#include <CGAL/Polygon_mesh_processing/corefinement.h>
#include <CGAL/Polygon_mesh_processing/measure.h>
#include <CGAL/Polygon_mesh_processing/orientation.h>
#include <CGAL/Polygon_mesh_processing/transform.h>
#include <CGAL/Polyhedron_3.h>
#include <CGAL/Surface_mesh.h>
typedef CGAL::Cartesian<double> Kernel;
@benlaurie
benlaurie / bug.cpp
Created January 13, 2020 10:08
Delauney triangulation hole filling fail
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Polygon_mesh_processing/triangulate_hole.h>
#include <CGAL/Polyhedron_3.h>
typedef CGAL::Exact_predicates_exact_constructions_kernel Kernel;
typedef CGAL::Polyhedron_3<Kernel> Polyhedron;
typedef Polyhedron::Halfedge_handle Halfedge_handle;
typedef Polyhedron::Facet_handle Facet_handle;
typedef Polyhedron::Vertex_handle Vertex_handle;