Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Iteration over Voronoi faces

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Iteration over Voronoi faces


Chronological Thread 
  • From: Stefan Witzel <>
  • To:
  • Subject: Re: [cgal-discuss] Iteration over Voronoi faces
  • Date: Fri, 14 Jun 2019 11:20:54 +0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:8au4kRMKwEJfaD+pBegl6mtUPXoX/o7sNwtQ0KIMzox0Ivn+rarrMEGX3/hxlliBBdydt6sdzbOI6uu5AiQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTagfL9+Ngi6oATMusUZnIdvJLs6xwfUrHdPZ+lY335jK0iJnxb76Mew/Zpj/DpVtvk86cNOUrj0crohQ7BAAzsoL2465MvwtRneVgSP/WcTUn8XkhVTHQfI6gzxU4rrvSv7sup93zSaPdHzQLspVzmu87tnRRn1gyoBKjU38nzYitZoga1UrhKupQZ/zY7abo+WKfRwYL/ScMgGRWZdRMtdSzBNDp++YoYJEuEPPfxYr474p1YWsBW+GRejBO31xT9Om3T53aw60/ggEA7Y2AwrAtUDsG/IrNT7NacSTeG0w7fMzTjYYPNW3C3y6InMchw7vf6MWrdwfNPXxEIyGQ3FiVCQppbkPzOTzukNsm6b7/BhVe21kWInpRtxriCzyccjkIbJgpgZylfe9SV2xos+ON62SFZjbNK6DJddszuWOoh2T884Xm1kpiU3xqcJtJKleiUB1Y4pyATFa/OddoiF+hLjW/iVITd/nH9lfaiwhxe28US5xOz8U9S43E9EridKjNXArH8N1xvU6siITvty4F2t1iqI1wDW8u1EIEY0mrTHK5M53LI8ip4evV7AEyL2gkn6kbGae0Y+9uWn9ejrerDmqYWdN49whAH+KKMumsmnDOQjLggPUWmb+fi91bL9+U30W7pKjvgsnanYtJDWP9gUpqm8AwNNyIYs9w6/Dyu60NQfhXQIMF1FdwiDj4TwJl7OIev4Auuig1S3izdm3OvGP73kApXVNHfPirbhfbBn605d0gU/195f54gHQowHO+/5D0/tqMTDXFh+KB2x2++hCdNn14pYV3jIGb6cKKqVsFmG4aUkLOCIIYMUoz3gMON22/m7hnAwnRoRfLKiwIAMQHG+BPVvZUuDMkDhmtMQLWBfpRU/UP7njHWHWCJTIWu0Xuc25zw/BYyrCYuFSo3+rqaG2XKAApBYb2YONVGQA3rsP9GfR+gNdDCfJudulzUFUf6qTIp3hkLmjxPz17cydrmcwSYfr5+2jIEptd2Wrgk78HlPN+rYy3uEFjgmkWYBRjtw16d68xQklwWzlJNgivkdLuR9ovNEVgBgaMzZxu1+Ts/3A0fPIo3PR1GhTdGrRzo2S4Bpmo5cUwNGA9ynyyv78W+vCr4RmaaMAcVtoK3Z1nn1Yc16ziSf2Q==

Dear Mael,

Thank you for this nice explanation! I have in fact run into issues
with non-hyperbolic faces which I had understood mathematically and
thanks to you now understand also on the software level.

Best,
Stefan

Am Fr., 14. Juni 2019 um 08:12 Uhr schrieb Mael
<>:
>
> Hello,
>
> This is usually the case, if you look at the documentation page of e.g.
> Regular_triangulation_2, you'll see a section "Additional Inherited
> Members", which contains exactly what you have in mind (typedefs and
> functions from Triangulation_2).
>
> Hyperbolic_Delaunay_triangulation_2 (HDT2) is a little bit different
> because it inherits Delaunay_triangulation_2 (DT2), but in a private
> way. This is done exactly so that not everything from DT2 is shown in
> the documentation. This is because the simplicies in a HDT2 form only a
> subset of the simplices of a DT2. Thus, we are internally building a DT2
> and the class HDT2 is just a filter on top of the DT2.
>
> You can use the functions from DT2 (or even T2, which DT2 inherits), but
> be careful that you will then be working with the full DT2 structure and
> not the HDT2. You can apply hyperbolic filtering manually via the
> "is_hyperbolic()" family of functions to bring things back to HDT2.
>
> Best,
> Mael
>
> On 13/06/2019 22:15, Stefan Witzel wrote:
> > Hi,
> >
> > Sorry about my last question! In case someone is actually wondering:
> > the answer are face circulators [1]. The documentation would be much
> > more accessible if one could see all the inherited methods somewhere.
> > I was looking at the documentation for
> > Hyperbolic_Delaunay_triangulation_2 and from there it's a bit of a way
> > down to Triangulation_2, especially when you are wondering about the
> > traits and data structures along the way.
> >
> > Best,
> > Stefan
> >
> > [1]
> > https://doc.cgal.org/latest/Triangulation_2/classCGAL_1_1Triangulation__2.html#a1bda2ab92ccf638bb22fc223ae281b96
> >
> > Am Do., 13. Juni 2019 um 16:32 Uhr schrieb Stefan Witzel
> > <>:
> >> Hello,
> >>
> >> I do not have any previous experience with cgal and my question is a
> >> rather conceptual one without much technical insight: I would like to
> >> iterate over the faces of a Voronoi diagram and then over the edges of
> >> each face (to obtain a closed polygon); in other words this means to
> >> iterate over the vertices of a Delaunay triangulation and then over
> >> the edges incident with this vertex. Am I right to assume that this is
> >> fundamentally problematic with the default parameters for
> >> Delaunay_triangulation_2 (Triangulation_vertex_base_2,
> >> Triangulation_face_base_2) as a vertex does not ``know'' the edges it
> >> is incident with? Is there a kind of dual assignment that I could use
> >> (like ``(Tessellation_face_base, Tessellation_vertex_base)'')?
> >>
> >> Since tessellations into non-triangles may be more complicated, would
> >> it be a possibility to first produce the (common) barycentric
> >> subdivision?
> >>
> >> Best,
> >> Stefan
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://sympa.inria.fr/sympa/info/cgal-discuss
>
>



Archive powered by MHonArc 2.6.18.

Top of Page