Skip to Content.
Sympa Menu

cgal-discuss - Re: Re: Re: Re: Re: [cgal-discuss] Point duplicates in a constrained 2D Delaunay Triangulation

Subject: CGAL users discussion list

List archive

Re: Re: Re: Re: Re: [cgal-discuss] Point duplicates in a constrained 2D Delaunay Triangulation


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To:
  • Subject: Re: Re: Re: Re: Re: [cgal-discuss] Point duplicates in a constrained 2D Delaunay Triangulation
  • Date: Thu, 16 May 2013 18:05:51 +0200
  • Organization: GeometryFactory

Le jeudi 16 mai 2013 15:14:33 Yohann a écrit :
> typedef
> CGAL::Constrained_Delaunay_triangulation_2<T_CgalKernel,T_TriangulationTds,T
> _TriangulationItag> T_Triangulation;

Here you should probably use that:

typedef CGAL::Constrained_Delaunay_triangulation_2<
T_CgalKernel,
T_TriangulationTds,
T_TriangulationItag
> T_Triangulation_base;
typedef CGAL::Constrained_triangulation_plus_2<T_Triangulation_base>
T_Triangulation_base;

The template class Constrained_triangulation_plus_2 behaves like the Cdt
template class, but handles a hierarchy of constraints. And if a constraint
is
inserted twice (even in a different orientation), it does not try to compute
twice the intersections with the other constraints. That could fix your
issues, if my guess is right.

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/




Archive powered by MHonArc 2.6.18.

Top of Page