Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Terrain + hierarchy

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Terrain + hierarchy


Chronological Thread 
  • From: Daniel Duque Campayo <>
  • To:
  • Subject: Re: [cgal-discuss] Terrain + hierarchy
  • Date: Mon, 3 Dec 2007 11:14:08 +0100

Hello again,

On Monday 03 December 2007 10:51, Andreas Fabri wrote:
> Please give the Projection_traits_xy_3 a try. It should fix the problem,
> and also works with constrained triangulations, as it provides the
> intersection functor.

Yes, this one seems to work fine! Thanks a lot. So, is this class is going to
be included in the new releases?

For the record, I include the new code.

Best,

Daniel



#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include "Projection_traits_xy_3.h"
#include <CGAL/Delaunay_triangulation_2.h>
#include <CGAL/Triangulation_hierarchy_2.h>
#include <CGAL/intersections.h>

#include<vector>
#include<iostream>
#include<string>

typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef CGAL::Projection_traits_xy_3<K> Et;

typedef CGAL::Triangulation_vertex_base_2<Et> Vbb;
typedef CGAL::Triangulation_hierarchy_vertex_base_2<Vbb> Vb;
typedef CGAL::Triangulation_face_base_2<Et> Fb;
typedef CGAL::Triangulation_data_structure_2<Vb,Fb> Tds;
typedef CGAL::Delaunay_triangulation_2<Et,Tds> Dt;
typedef CGAL::Triangulation_hierarchy_2<Dt> Triangulation;

--
Daniel Duque
http://rincon.uam.es/dir?cw=950067138671875



Archive powered by MHonArc 2.6.16.

Top of Page