2#ifndef __FASTJET_TRIANGULATION__
3#define __FASTJET_TRIANGULATION__
37#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
38#include <CGAL/Delaunay_triangulation_2.h>
39#include <CGAL/Triangulation_hierarchy_2.h>
40#include <CGAL/Triangulation_vertex_base_with_info_2.h>
41#include "fastjet/internal/base.hh"
43FASTJET_BEGIN_NAMESPACE
51#ifdef CGAL_SIMPLE_KERNEL
52struct K : CGAL::Simple_cartesian<double> {};
54struct K : CGAL::Exact_predicates_inexact_constructions_kernel {};
58const int INFINITE_VERTEX=-1;
59const int NEW_VERTEX=-2;
60const double HUGE_DOUBLE=1e300;
72 inline InitialisedInt& operator= (
int value) {_val = value;
return *
this;};
73 inline int val()
const {
return _val;};
84typedef CGAL::Triangulation_vertex_base_with_info_2<InitialisedInt,K> Vb;
85typedef CGAL::Triangulation_face_base_2<K> Fb;
86typedef CGAL::Triangulation_data_structure_2<Vb,Fb> Tds;
87typedef CGAL::Delaunay_triangulation_2<K,Tds> Triangulation;
89typedef CGAL::Triangulation_vertex_base_with_info_2<InitialisedInt,K> Vbb;
90typedef CGAL::Triangulation_hierarchy_vertex_base_2<Vbb> Vb;
91typedef CGAL::Triangulation_face_base_2<K> Fb;
92typedef CGAL::Triangulation_data_structure_2<Vb,Fb> Tds;
93typedef CGAL::Delaunay_triangulation_2<K,Tds> Dt;
94typedef CGAL::Triangulation_hierarchy_2<Dt> Triangulation;
97typedef Triangulation::Vertex_handle Vertex_handle;
98typedef Triangulation::Point Point;
100typedef Triangulation::Face_circulator Face_circulator;
101typedef Triangulation::Face_handle Face_handle;
Triangulation::Vertex_circulator Vertex_circulator
CGAL Point structure.