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:12:33 -0700 (PDT)
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Fail ; spf=None
  • Ironport-phdr: 9a23:wwPUVxUqcGm8y0un0AuPU5nlNLjV8LGtZVwlr6E/grcLSJyIuqrYZhePt8tkgFKBZ4jH8fUM07OQ6PCxHzxeqsrf+Fk5M7VyFDY9wf0MmAIhBMPXQWbaF9XNKxIAIcJZSVV+9Gu6O0UGUOz3ZlnVv2HgpWVKQka3CwN5K6zPF5LIiIzvjqbpq8yVM1sD2GT1SIgxBSv1hD2ZjtMRj4pmJ/R54TryiVwMRd5rw3h1L0mYhRf265T41pdi9yNNp6BprJYYAu2pN5g/GLdXBTBjP2Eu79DwrjHCSxGO7z0SSDY4iB1NVgLM6BXwQ5jquDb8sPs1jCeQNMn/SKg9XzW5x7pwDhLz3nRUfwUl+X3a35QjxJlQpwis8kRy

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-tp4661994p4661996.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page