Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Lloyd optimization on a 2d CDT issue

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Lloyd optimization on a 2d CDT issue


Chronological Thread 
  • From: ballbugsbunny <>
  • To:
  • Subject: Re: [cgal-discuss] Lloyd optimization on a 2d CDT issue
  • Date: Wed, 15 Jun 2016 05:16:52 -0700 (PDT)
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Fail ; spf=None
  • Ironport-phdr: 9a23:GK81ZxfdDTyUCQenQ2aOBQ29lGMj4u6mDksu8pMizoh2WeGdxc65bB7h7PlgxGXEQZ/co6odzbGG4uawBydcv96oizMrTt9lb1c9k8IYnggtUoauKHbQC7rUVRE8B9lIT1R//nu2YgB/Ecf6YEDO8DXptWZBUiv2OQc9HOnpAIma153xjLDjvc2NKFkWzBOGIppMbzyO5T3LsccXhYYwYo0Q8TDu5kVyRuJN2GlzLkiSlRuvru25/Zpk7jgC86l5r50IAu3GePEzQrVcSTgnKGso/9bDtB/ZTALJ6GFPfH8Rl09CCgzB5gz1RZ3stC3r/r5z0iCeNMjuRLY1Qhy/9OFmU0m72288Kzcl/TSP2YRLh6VBrUf5qg==

(Sorry for the double post, I've deleted the previous by mistake..)

I'm sorry, it seems that I haven't understand something.
It's true that since I was expanding my tests, I was using the
CGAL::Triangulation_vertex_base_2<K> (which is used in all the previous
examples) instead of CGAL::Delaunay_mesh_vertex_base_2<K>.

I've changed it and now I'm getting this error:

/usr/include/CGAL/Constrained_voronoi_diagram_2.h:203: error: 'class
CGAL::Triangulation_face_base_with_info_2<FaceInfo2, CGAL::Epick,
CGAL::Constrained_triangulation_face_base_2&lt;CGAL::Epick,
CGAL::Delaunay_mesh_face_base_2&lt;CGAL::Epick,
CGAL::Constrained_triangulation_face_base_2&lt;CGAL::Epick,
CGAL::Triangulation_face_base_2&lt;CGAL::Epick,
CGAL::Triangulation_ds_face_base_2&lt;CGAL::Triangulation_data_structure_2&lt;CGAL::Delaunay_mesh_vertex_base_2&lt;CGAL::Epick>,
CGAL::Triangulation_face_base_with_info_2<FaceInfo2, CGAL::Epick,
CGAL::Constrained_triangulation_face_base_2&lt;CGAL::Epick,
CGAL::Delaunay_mesh_face_base_2&lt;CGAL::Epick> > > > > > > > > >' has no
member named 'set_blind'
f->set_blind(blind);
^

Here are the types I'm using: (FaceInfo2 is a custom struct)

typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef CGAL::Delaunay_mesh_vertex_base_2<K> Vb;
typedef CGAL::Delaunay_mesh_face_base_2<K> Fb;
typedef CGAL::Constrained_triangulation_face_base_2<K,Fb> CTFb;
typedef CGAL::Triangulation_face_base_with_info_2<FaceInfo2,K,CTFb>
InfoFbb;
typedef CGAL::Triangulation_data_structure_2<Vb, InfoFbb> Tds;
typedef CGAL::Exact_predicates_tag Itag;
typedef CGAL::Constrained_Delaunay_triangulation_2<K, Tds, Itag> CDT;
typedef CGAL::Delaunay_mesh_size_criteria_2<CDT> Criteria;
typedef CGAL::Delaunay_mesher_2<CDT, Criteria> Mesher;


Thanks,
Fotis




--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Lloyd-optimization-on-a-2d-CDT-issue-tp4661994p4661997.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page