CGAL 5.1 - 2D Triangulation
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;
}
CGAL::Exact_predicates_inexact_constructions_kernel
CGAL::Triangulation_2
Definition: Triangulation_2.h:170
CGAL::draw
void draw(const T3 &at3)