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: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Lloyd optimization on a 2d CDT issue
  • Date: Wed, 15 Jun 2016 14:15:33 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:KzAbAhCtDlSGryeUlKXwUyQJP3N1i/DPJgcQr6AfoPdwSP79o8bcNUDSrc9gkEXOFd2CrakU2qyG7eu8AiQp2tWojjMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpQAbFhi3DwdpPOO9QteU1JTmkbDssMGIKyxzxxODIppKZC2sqgvQssREyaBDEY0WjiXzn31TZu5NznlpL1/A1zz158O34YIxu38I46FppIZ8VvDxcK08CLBZFz87KHsd5cvxtBCFQxHcyGEbVzBcqRdCChPZ7Rz8FrP2qCr9qqI99ySdOMDqV6EaUD++6L16CVWg3DwDMCQ4932Rj8hYg6dSoRbnrBt6ld2HKLqJPeZzK/uONegRQnBMC55c
  • Organization: GeometryFactory

The vertex type is not correct, it should be a model of DelaunayMeshVertexBase [1] like CGAL::Delaunay_mesh_vertex_base_2<K>
for example.

Sebastien.

[1] http://doc.cgal.org/latest/Mesh_2/classDelaunayMeshVertexBase__2.html

On 06/15/2016 01:24 PM, ballbugsbunny wrote:
Hi all,
I'm trying to perform a Lloyd optimization, having an exact copy of how the
algorithm is implemented in the example given in
http://doc.cgal.org/latest/Mesh_2/ (Paragraph 2.6.4). The only difference is
that in the Triangulation_data_structure_2 I've used a
Triangulation_face_base_with_info_2.

I'm getting the following error:

/usr/include/CGAL/Mesh_2/Mesh_global_optimizer_2.h:374: error: 'class
CGAL::Triangulation_vertex_base_2<CGAL::Epick,
CGAL::Triangulation_ds_vertex_base_2&lt;CGAL::Triangulation_data_structure_2&lt;CGAL::Triangulation_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 'sizing_info'
const FT size = v->sizing_info();
^

I have a small clue why this is happening but I'm not sure. Is there anyway
to overcome this? Am I doing something wrong?

Thanks a lot for your help,
Fotis



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










Archive powered by MHonArc 2.6.18.

Top of Page