Skip to content

Instantly share code, notes, and snippets.

@visorz
visorz / PointIterator.cpp
Created September 26, 2015 17:46
Point iterator providing equal access on Polyhedron_3 and Surfacemesh
#include <CGAL/Simple_cartesian.h>
typedef CGAL::Simple_cartesian<double> Kernel;
typedef Kernel::FT Scalar;
typedef Kernel::Point_3 Point;
typedef Kernel::Vector_3 Vector;
#include <CGAL/Surface_mesh.h>
typedef CGAL::Surface_mesh<Point> Surfacemesh;
#include <CGAL/Polyhedron_3.h>