mirror of https://github.com/CGAL/cgal
Gt replaced by K
This commit is contained in:
parent
e558794162
commit
2a343d93c0
|
|
@ -52,10 +52,10 @@ typedef double NT;
|
|||
//
|
||||
// typedef CGAL::Filtered_exact<double, CGAL::MP_Float> NT;
|
||||
|
||||
typedef CGAL::Cartesian<NT> Gt;
|
||||
typedef CGAL::Cartesian<NT> K;
|
||||
|
||||
typedef CGAL::Triangulation_3<Gt> Triangulation;
|
||||
typedef CGAL::Delaunay_triangulation_3<Gt> Delaunay;
|
||||
typedef CGAL::Triangulation_3<K> Triangulation;
|
||||
typedef CGAL::Delaunay_triangulation_3<K> Delaunay;
|
||||
|
||||
typedef Triangulation::Vertex_iterator Vertex_iterator;
|
||||
typedef Triangulation::Edge_iterator Edge_iterator;
|
||||
|
|
@ -69,7 +69,7 @@ typedef Triangulation::Cell_handle Cell_handle;
|
|||
typedef Triangulation::Vertex_handle Vertex_handle;
|
||||
typedef Triangulation::Locate_type Locate_type;
|
||||
|
||||
typedef Gt::Point_3 Point;
|
||||
typedef K::Point_3 Point;
|
||||
|
||||
//////////////////////
|
||||
// VISU GEOMVIEW
|
||||
|
|
|
|||
|
|
@ -72,14 +72,14 @@ typedef double NT;
|
|||
//
|
||||
// typedef CGAL::Filtered_exact<double, CGAL::MP_Float> NT;
|
||||
|
||||
typedef CGAL::Cartesian<NT> Gt;
|
||||
typedef CGAL::Cartesian<NT> K;
|
||||
|
||||
typedef Gt::Point_3 Point;
|
||||
typedef K::Point_3 Point;
|
||||
|
||||
typedef CGAL::Triangulation_cell_base_3<Gt> Cb;
|
||||
typedef My_vertex_base<Gt> Vb;
|
||||
typedef CGAL::Triangulation_cell_base_3<K> Cb;
|
||||
typedef My_vertex_base<K> Vb;
|
||||
typedef CGAL::Triangulation_data_structure_3<Vb,Cb> Tds;
|
||||
typedef CGAL::Delaunay_triangulation_3<Gt, Tds> Delaunay;
|
||||
typedef CGAL::Delaunay_triangulation_3<K, Tds> Delaunay;
|
||||
|
||||
typedef Delaunay::Vertex_iterator Vertex_iterator;
|
||||
typedef Delaunay::Vertex_handle Vertex_handle;
|
||||
|
|
|
|||
|
|
@ -46,19 +46,19 @@ int main()
|
|||
#include <vector>
|
||||
|
||||
typedef CGAL::Filtered_exact<double, CGAL::MP_Float> NT;
|
||||
typedef CGAL::Cartesian<NT> Gt;
|
||||
typedef CGAL::Cartesian<NT> K;
|
||||
|
||||
typedef CGAL::Triangulation_vertex_base_3<Gt> Vb;
|
||||
typedef CGAL::Triangulation_vertex_base_3<K> Vb;
|
||||
typedef CGAL::Triangulation_hierarchy_vertex_base_3<Vb> Vbh;
|
||||
typedef CGAL::Triangulation_cell_base_3<void> Cb;
|
||||
typedef CGAL::Triangulation_data_structure_3<Vbh,Cb> Tds;
|
||||
typedef CGAL::Delaunay_triangulation_3<Gt,Tds> Dt;
|
||||
typedef CGAL::Delaunay_triangulation_3<K,Tds> Dt;
|
||||
typedef CGAL::Triangulation_hierarchy_3<Dt> Dh;
|
||||
|
||||
typedef Dh::Vertex_iterator Vertex_iterator;
|
||||
typedef Dh::Vertex_handle Vertex_handle;
|
||||
typedef Dh::Cell_handle Cell_handle;
|
||||
typedef Gt::Point_3 Point;
|
||||
typedef K::Point_3 Point;
|
||||
|
||||
//////////////////////
|
||||
// VISU GEOMVIEW
|
||||
|
|
|
|||
|
|
@ -52,10 +52,10 @@ typedef double NT;
|
|||
//
|
||||
// typedef CGAL::Filtered_exact<double, CGAL::MP_Float> NT;
|
||||
|
||||
typedef CGAL::Cartesian<NT> Gt;
|
||||
typedef CGAL::Cartesian<NT> K;
|
||||
|
||||
typedef CGAL::Triangulation_3<Gt> Triangulation;
|
||||
typedef CGAL::Delaunay_triangulation_3<Gt> Delaunay;
|
||||
typedef CGAL::Triangulation_3<K> Triangulation;
|
||||
typedef CGAL::Delaunay_triangulation_3<K> Delaunay;
|
||||
|
||||
typedef Triangulation::Vertex_iterator Vertex_iterator;
|
||||
typedef Triangulation::Edge_iterator Edge_iterator;
|
||||
|
|
@ -69,7 +69,7 @@ typedef Triangulation::Cell_handle Cell_handle;
|
|||
typedef Triangulation::Vertex_handle Vertex_handle;
|
||||
typedef Triangulation::Locate_type Locate_type;
|
||||
|
||||
typedef Gt::Point_3 Point;
|
||||
typedef K::Point_3 Point;
|
||||
|
||||
int main()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -40,14 +40,14 @@ typedef double NT;
|
|||
//
|
||||
// typedef CGAL::Filtered_exact<double, CGAL::MP_Float> NT;
|
||||
|
||||
typedef CGAL::Cartesian<NT> Gt;
|
||||
typedef CGAL::Cartesian<NT> K;
|
||||
|
||||
typedef Gt::Point_3 Point;
|
||||
typedef K::Point_3 Point;
|
||||
|
||||
typedef CGAL::Triangulation_cell_base_3<Gt> Cb;
|
||||
typedef My_vertex_base<Gt> Vb;
|
||||
typedef CGAL::Triangulation_cell_base_3<K> Cb;
|
||||
typedef My_vertex_base<K> Vb;
|
||||
typedef CGAL::Triangulation_data_structure_3<Vb,Cb> Tds;
|
||||
typedef CGAL::Delaunay_triangulation_3<Gt, Tds> Delaunay;
|
||||
typedef CGAL::Delaunay_triangulation_3<K, Tds> Delaunay;
|
||||
|
||||
typedef Delaunay::Vertex_iterator Vertex_iterator;
|
||||
typedef Delaunay::Vertex_handle Vertex_handle;
|
||||
|
|
|
|||
|
|
@ -29,20 +29,20 @@ typedef double NT;
|
|||
// chosing the representation (cartesian or homogeneous)
|
||||
//////////////////////
|
||||
|
||||
typedef CGAL::Cartesian<NT> Gt;
|
||||
typedef CGAL::Cartesian<NT> K;
|
||||
|
||||
//////////////////////
|
||||
|
||||
typedef CGAL::Triangulation_vertex_base_3<Gt> Vb;
|
||||
typedef CGAL::Triangulation_vertex_base_3<K> Vb;
|
||||
typedef CGAL::Triangulation_hierarchy_vertex_base_3<Vb> Vbh;
|
||||
typedef CGAL::Triangulation_cell_base_3<void> Cb;
|
||||
typedef CGAL::Triangulation_data_structure_3<Vbh,Cb> Tds;
|
||||
typedef CGAL::Delaunay_triangulation_3<Gt,Tds> Dt;
|
||||
typedef CGAL::Delaunay_triangulation_3<K,Tds> Dt;
|
||||
typedef CGAL::Triangulation_hierarchy_3<Dt> Dh;
|
||||
|
||||
typedef Dh::Vertex_iterator Vertex_iterator;
|
||||
typedef Dh::Vertex_handle Vertex_handle;
|
||||
typedef Gt::Point_3 Point;
|
||||
typedef K::Point_3 Point;
|
||||
|
||||
int main()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -28,17 +28,17 @@ typedef double NT;
|
|||
// chosing the representation (cartesian or homogeneous)
|
||||
//////////////////////
|
||||
|
||||
typedef CGAL::Cartesian<NT> Gt;
|
||||
typedef CGAL::Cartesian<NT> K;
|
||||
|
||||
//////////////////////
|
||||
|
||||
typedef CGAL::Triangulation_3<Gt> Triangulation;
|
||||
typedef CGAL::Triangulation_3<K> Triangulation;
|
||||
|
||||
typedef Triangulation::Cell_handle Cell_handle;
|
||||
typedef Triangulation::Vertex_handle Vertex_handle;
|
||||
typedef Triangulation::Locate_type Locate_type;
|
||||
|
||||
typedef Gt::Point_3 Point;
|
||||
typedef K::Point_3 Point;
|
||||
|
||||
int main()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -15,10 +15,10 @@ class empty_traits {
|
|||
public:
|
||||
class Point_3 {};
|
||||
};
|
||||
typedef empty_traits Gt;
|
||||
typedef empty_traits K;
|
||||
|
||||
typedef CGAL::Triangulation_vertex_base_3<Gt> Vb;
|
||||
typedef CGAL::Triangulation_cell_base_3<Gt> Cb;
|
||||
typedef CGAL::Triangulation_vertex_base_3<K> Vb;
|
||||
typedef CGAL::Triangulation_cell_base_3<K> Cb;
|
||||
|
||||
typedef CGAL::Triangulation_data_structure_3<Vb,Cb> Tds;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue