Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Intersection of a ray and a delaunay triangulation

Subject: CGAL users discussion list

List archive

[cgal-discuss] Intersection of a ray and a delaunay triangulation


Chronological Thread 
  • From: Pol Monsó Purtí Helimap <>
  • To:
  • Subject: [cgal-discuss] Intersection of a ray and a delaunay triangulation
  • Date: Thu, 24 Mar 2016 12:33:44 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:qhYfkhY/L3BERpp0If/LgjH/LSx+4OfEezUN459isYplN5qZpcm7bnLW6fgltlLVR4KTs6sC0LqG9fmwEjZcqb+681k8M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aJBzzOEJPK/jvHcaK1oLsh7D0os2YOVkArQH+SI0xBS3+lR/WuMgSjNkqAYcK4TyNnEF1ff9Lz3hjP1OZkkW0zM6x+Jl+73YY4Kp5pIYTGZn9Kq83RLgdADU9OH0u/+XqswPCRE2B/CgySGITxyJPBz/g6xfhxaDJrzHmM91d1S2bOMTuBeQsXjDk6qBtUxjAiCoDNjsw6Cfcipoj3+pgvBu9qkknkMbva4aPOa8mcw==

Hello all,

How can I intersect a 3d ray with a 2D Constrained Delaunay Triangulation created from 3d points using the project_xy traits?

I've seen this post: http://cgal-discuss.949826.n4.nabble.com/Intersection-segment-and-cells-from-3D-Delaunay-triangulation-td4660891.html

But I don't understand andreas for the second approach.

I don't have that many queries, around 200 of them. I might have, however, lots of points, > 200 milion.

Is it worth it to build a tree? what other approach could I follow? Iterating over all the faces seems highly inefficient.

Cheers,

Pol

Some typedefs I have, to give some context:

typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef CGAL::Projection_traits_xy_3<K>  Gt;
typedef K::Point_3   Point3;

typedef CGAL::Triangulation_vertex_base_2<Gt> Vb;
typedef CGAL::Delaunay_mesh_face_base_2<Gt> Fb;
typedef CGAL::Triangulation_data_structure_2<Vb, Fb> Tds;
typedef CGAL::Constrained_Delaunay_triangulation_2<Gt, Tds> CDT;




Archive powered by MHonArc 2.6.18.

Top of Page