Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Intersection segment and cells from 3D Delaunay triangulation
Chronological Thread
- From: Mauricio Diaz <>
- To:
- Subject: Re: [cgal-discuss] Intersection segment and cells from 3D Delaunay triangulation
- Date: Wed, 3 Jun 2015 13:12:53 +0200 (CEST)
Thanks Andreas,
> The AABB tree is only worth it if you have many query segments.
Yes, that's my case!
> A third alternative is to locate an endpoint in the triangulation
> and to walk towards the other end point collecting the cells
> you traverse.
This alternative sounds interesting. What do you mean with "walk towards"?
How can this be done?
Thanks again,
- Mauricio
----- Mail original -----
> De: "Andreas Fabri"
> <>
> À:
>
> Envoyé: Mercredi 3 Juin 2015 11:40:44
> Objet: Re: [cgal-discuss] Intersection segment and cells from 3D Delaunay
> triangulation
>
>
> The AABB tree is only worth it if you have many query segments.
>
> A third alternative is to locate an endpoint in the triangulation
> and to walk towards the other end point collecting the cells
> you traverse.
>
> andreas
>
> On 03/06/2015 11:28, Mauricio Diaz wrote:
> > Hi,
> > I wonder how to calculate the intersections between a 3D segment and
> > some cells from a 3D Delaunay triangulation.
> > From the documentation, I understand two ways to do it:
> > - By iterating all over the finite cells of the 3D triangulation and
> > calculating CGAL::intersection(segment, cell)
> > - By construction an AABB tree of the cells (the triangle facets) and
> > finding the intersections with the segment.
> >
> > Which of these two options is more efficient? Any different suggestion?
> > Thanks,
> >
> >
> > - Mauricio DIAZ
> >
>
> --
> Andreas Fabri, PhD
> Chief Officer, GeometryFactory
> Editor, The CGAL Project
>
> phone: +33.492.954.912 skype: andreas.fabri
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://sympa.inria.fr/sympa/info/cgal-discuss
>
>
>
- [cgal-discuss] Intersection segment and cells from 3D Delaunay triangulation, Mauricio Diaz, 06/03/2015
- Re: [cgal-discuss] Intersection segment and cells from 3D Delaunay triangulation, Andreas Fabri, 06/03/2015
- Re: [cgal-discuss] Intersection segment and cells from 3D Delaunay triangulation, Mauricio Diaz, 06/03/2015
- Re: [cgal-discuss] Intersection segment and cells from 3D Delaunay triangulation, Andreas Fabri, 06/03/2015
- Re: [cgal-discuss] Intersection segment and cells from 3D Delaunay triangulation, Mauricio Diaz, 06/03/2015
- Re: [cgal-discuss] Intersection segment and cells from 3D Delaunay triangulation, Andreas Fabri, 06/03/2015
Archive powered by MHonArc 2.6.18.