Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Conforming Delaunay Triangulation 2.5D

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Conforming Delaunay Triangulation 2.5D


Chronological Thread 
  • From: Renato Silveira <>
  • To:
  • Subject: Re: [cgal-discuss] Conforming Delaunay Triangulation 2.5D
  • Date: Thu, 6 Apr 2017 23:05:11 -0300
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:WZMoahGjXuz1wAuPTOrm6p1GYnF86YWxBRYc798ds5kLTJ78oc6wAkXT6L1XgUPTWs2DsrQf2raQ6/iocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbQhFgDWwbaluIBmqsA7cqtQYjYx+J6gr1xDHuGFIe+NYxWNpIVKcgRPx7dqu8ZBg7ipdpesv+9ZPXqvmcas4S6dYDCk9PGAu+MLrrxjDQhCR6XYaT24bjwBHAwnB7BH9Q5fxri73vfdz1SWGIcH7S60/VDK/5KlpVRDokj8KODw38G/XhMJ+j79Vrgy9qBFk2YHYfJuYOeBicq/Bf94XQ3dKUMZLVyxGB4Oxd5cBAPQHPelCs4n9oEYFowa/BQmoGuPg1D5IhmXs0qYn1OkhCgDG3Ag+H90QsXTUts/6OL0IUe+ryqnF1jrDb/ZM1jf87IjEaAwuofaJXb9pd8fa1EchFwTAjlqKqIzlOSuY1vkDs2iB4OpgTvijhHU9qwx3vzOhxd8sh5HXio4Jzl3I7yZ0zYYvKdGmVUJ2YMSoHIZSui2HMYZ9X9ksTHtyuCkgz70LoZ67czYOyJQg3xPfbuaIc4mM4h76TeaRPSt0iGtreL6ihRu+7FKsyuL7Vsmz31ZKqjRKnsPQuXAK0hzf8smHSv1j8Ue9wTuDyRzf5+VeLU03lafXMYAtzqMxm5YJrEjOHDL6lF3zjKCMd0Uk/uao6/7gYrXjvpKcLI50igXgMqswm8y/G/43PhIUX2eF/+Sxz7Lj/UjjT7VLiv06iLXWsJffJcgDvK62HxdV0po/6xa4FzqpzNsYkmMDLF5cZR2HjpPpNE3TIPDjFveymE+skTdux/DeJLLtGJTNLn7ZkLfgZ7lx8UBcyBBghexYsplbA7VELPPoUVLqr/TZCAU4Okq62bXJEtJ4g7kTX2uTBeeiMafMvF6S76p7OOiIeoIUoj+7MfUjz/HrhH4931QaeP/6jtMsdHmkE6E+cA2ian32j4JZHA==

Thank you!!!!

On Thu, Apr 6, 2017 at 7:26 AM, Pol Monsó Purtí <> wrote:

You have to use Gt instead of K on the cdt typedef


typedef 
CGAL::Constrained_Delaunay_triangulation_2<Gt, TDS, Itag> CDT;

I had trouble getting it to work thought with the exact tag. Use CDT::Point to get the point, its less error-prone.

Cheers and gl!

El dia 06/04/2017 11:39, "Pol M" <> va escriure:
You have to use Gt instead of K on the cdt typedef


typedef 
CGAL::Constrained_Delaunay_triangulation_2<Gt, TDS, Itag> CDT;

I had trouble getting it to work thought with the exact tag. Use CDT::Point to get the point, its less error-prone.

Cheers and gl!



El dia 06/04/2017 10:46, "Renato Silveira" <> va escriure:

I saw the example using Delaunay Triangulation 2.5D and everything works fine. 
 
Is it possible to use Conforming Delaunay Triangulation with CGAL::Projection_traits_xy_3? 

I'm trying using this setup:

typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef CGAL::Projection_traits_xy_3<K> Gt;
typedef CGAL::Triangulation_vertex_base_with_info_2<std::string, Gt> Vb;
typedef CGAL::Constrained_triangulation_face_base_2<Gt>                 Fb;
typedef CGAL::Triangulation_data_structure_2<Vb, Fb> TDS;
typedef CGAL::Exact_predicates_tag Itag;
typedef CGAL::Constrained_Delaunay_triangulation_2<K, TDS, Itag> CDT;

typedef K::Point_3   Point_CDT;

I can't insert a Point_3 on a CDT. I tried using CGAL::No_intersection_tag to avoid create new points with no success.

Is there a way to use Conforming Delaunay Triangulation 2.5D?

--
Renato Silveira
     Ph.D. in Computer Science
     Informatics Institute - UFRGS

     Porto Alegre - RS - Brazil





--
Renato Silveira
     Ph.D. in Computer Science
     Informatics Institute - UFRGS

     Porto Alegre - RS - Brazil




Archive powered by MHonArc 2.6.18.

Top of Page