CGAL 5.6 - 2D Triangulations
Triangulation_2/draw_triangulation_2.cpp
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Triangulation_2.h>
#include <CGAL/draw_triangulation_2.h>
#include <fstream>
typedef CGAL::Triangulation_2<K> Triangulation;
typedef Triangulation::Point Point;
int main(int argc, char* argv[]) {
std::ifstream in((argc>1)?argv[1]:"data/triangulation_prog1.cin");
std::istream_iterator<Point> begin(in);
std::istream_iterator<Point> end;
Triangulation t;
t.insert(begin, end);
return EXIT_SUCCESS;
}