Subject: CGAL users discussion list
List archive
- From: Pol Monsó Purtí <>
- To:
- Subject: [cgal-discuss] Retrieving cgal voronoi diagram connected components
- Date: Tue, 12 Jul 2016 16:01:47 +0200
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:IT14ExAJNvlybYnqcqH5UyQJP3N1i/DPJgcQr6AfoPdwSP74oMbcNUDSrc9gkEXOFd2CrakV06yN7Ou+BCQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6kO74TNaIBjjLw09fr2zQd+KyZ/onL7vs7ToICxwzAKnZr1zKBjk5S7wjeIxxbVYF6Aq1xHSqWFJcekFjUlhJFaUggqurpzopM0roGxsvKcq+MdEFKn7ZK8lVqdwDTI8Mmlz6te4mwPESF634X9Ud2IQiYEAOxXf8JSyCpP1ry3z8Ox6xiCyMsj/TLRyUjOnufQ4ACT0gTsKYmZquFrcjdZ92fpW
I'd like to retrieve the polygons made of the voronoi bissectors or, at least, the bounding box of each voronoi region. That is, extracting the connected components of a voronoi diagram.
I'm struggling to see which of the iterators is appropriate and wether the funcionality is already in cgal's voronoi diagram.
Another way of seeing it is retrieving it all the voronoi vertices that concern each site, with their order for the polygon or without for the bounding box.
I am not sure which iterator to use or if there's one that already circulates around the voronoi vertices of a site. I couldn't find it from the documentation.
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef CGAL::Projection_traits_xy_3<K> Gt;[...]
//cgal voronoi
typedef CGAL::Delaunay_triangulation_2<Gt> DT;
typedef CGAL::Delaunay_triangulation_adaptation_traits_2<DT> AT;
typedef CGAL::Delaunay_triangulation_caching_degeneracy_removal_policy_2<DT> AP;
typedef CGAL::Voronoi_diagram_2<DT,AT,AP> VD;
- [cgal-discuss] Retrieving cgal voronoi diagram connected components, Pol Monsó Purtí, 07/12/2016
- Re: [cgal-discuss] Retrieving cgal voronoi diagram connected components, Sebastien Loriot (GeometryFactory), 07/12/2016
- Re: [cgal-discuss] Retrieving cgal voronoi diagram connected components, Pol Monsó Purtí, 07/12/2016
- Re: [cgal-discuss] Retrieving cgal voronoi diagram connected components, Pol Monsó Purtí, 07/12/2016
- Re: [cgal-discuss] Retrieving cgal voronoi diagram connected components, Pol Monsó Purtí, 07/12/2016
- Re: [cgal-discuss] Retrieving cgal voronoi diagram connected components, Sebastien Loriot (GeometryFactory), 07/12/2016
Archive powered by MHonArc 2.6.18.