Subject: CGAL users discussion list
List archive
- From: Jane Tournois <>
- To:
- Subject: Re: [cgal-discuss] Lloyd optimization on a 2d CDT issue
- Date: Thu, 16 Jun 2016 10:24:07 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=None ; spf=None
- Ironport-phdr: 9a23:Id0NORZc3GpId3LMkVccCP//LSx+4OfEezUN459isYplN5qZpcm+bnLW6fgltlLVR4KTs6sC0LqH9fCwEjRZqb+681k8M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aJBzzOEJPK/jvHcaK1oLsh7H0q82YO1wArQH+SI0xBS3+lR/WuMgSjNkqAYcK4TyNnEF1ff9Lz3hjP1OZkkW0zM6x+Jl+73YY4Kp5pIYTGZn9Kq83RLgdADU9OH0u/+XqswPCRE2B/CgySGITxzhBBQWN0BbnRJH2szCy4uh03iTcIcrrV7YzWC+K4KpsTRL0kjYJPjUl93vGzMd3ifQI81qauxVjztuMM8muP/1kc/aFcA==
Hi Fotis,
the intermediate CTFb should not be needed, because
`Delaunay_mesh_face_base_2` is a model for the concept
`ConstrainedTriangulationFaceBase_2`.
Can you please try this instead ?
typedef CGAL::Delaunay_mesh_face_base_2<K> Fb;
typedef CGAL::Triangulation_face_base_with_info_2<FaceInfo2,K,Fb> InfoFbb;
Best,
Jane.
Le 15/06/2016 à 14:16, ballbugsbunny a écrit :
(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<CGAL::Epick,
CGAL::Delaunay_mesh_face_base_2<CGAL::Epick,
CGAL::Constrained_triangulation_face_base_2<CGAL::Epick,
CGAL::Triangulation_face_base_2<CGAL::Epick,
CGAL::Triangulation_ds_face_base_2<CGAL::Triangulation_data_structure_2<CGAL::Delaunay_mesh_vertex_base_2<CGAL::Epick>,
CGAL::Triangulation_face_base_with_info_2<FaceInfo2, CGAL::Epick,
CGAL::Constrained_triangulation_face_base_2<CGAL::Epick,
CGAL::Delaunay_mesh_face_base_2<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.
--
Jane Tournois, PhD
R&D Engineer at GeometryFactory
http://www.geometryfactory.com/
- [cgal-discuss] Lloyd optimization on a 2d CDT issue, ballbugsbunny, 06/15/2016
- Re: [cgal-discuss] Lloyd optimization on a 2d CDT issue, Sebastien Loriot (GeometryFactory), 06/15/2016
- Re: [cgal-discuss] Lloyd optimization on a 2d CDT issue, ballbugsbunny, 06/15/2016
- Re: [cgal-discuss] Lloyd optimization on a 2d CDT issue, ballbugsbunny, 06/15/2016
- Re: [cgal-discuss] Lloyd optimization on a 2d CDT issue, Jane Tournois, 06/16/2016
- Re: [cgal-discuss] Lloyd optimization on a 2d CDT issue, ballbugsbunny, 06/16/2016
- Re: [cgal-discuss] Lloyd optimization on a 2d CDT issue, Laurent Rineau (CGAL/GeometryFactory), 06/16/2016
- Re: [cgal-discuss] Lloyd optimization on a 2d CDT issue, ballbugsbunny, 06/16/2016
- Re: [cgal-discuss] Lloyd optimization on a 2d CDT issue, Sebastien Loriot (GeometryFactory), 06/17/2016
- Re: [cgal-discuss] Lloyd optimization on a 2d CDT issue, ballbugsbunny, 06/17/2016
- Re: [cgal-discuss] Lloyd optimization on a 2d CDT issue, ballbugsbunny, 06/16/2016
- Re: [cgal-discuss] Lloyd optimization on a 2d CDT issue, Laurent Rineau (CGAL/GeometryFactory), 06/16/2016
- Re: [cgal-discuss] Lloyd optimization on a 2d CDT issue, ballbugsbunny, 06/16/2016
- Re: [cgal-discuss] Lloyd optimization on a 2d CDT issue, Jane Tournois, 06/16/2016
- Re: [cgal-discuss] Lloyd optimization on a 2d CDT issue, Sebastien Loriot (GeometryFactory), 06/15/2016
Archive powered by MHonArc 2.6.18.