Subject: CGAL users discussion list
List archive
- From: gg++ <>
- To:
- Subject: [cgal-discuss] Spatial Searching and Sorting - First Intersected Primitive
- Date: Mon, 29 Oct 2012 13:08:38 -0700 (PDT)
Regarding CGAL's AABB tree:
I know that CGAL explicitly states that no function is provided to compute
the first intersected primitive with respect to the source of a ray query,
i.e. the first triangle a ray hits in space. However, this is exactly what I
need to do. My current workaround is to construct the intersection objects
and intersected primitive id's and for each intersection, I compute the
distance to the source of the ray and return the closest primitive.
Is there a better way to accomplish the same task using CGAL? Is there
another set of libraries compatible with CGAL's ray/triangle classes that
provides a function similar to the one I am looking for?
Thank you,
Grant
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Spatial-Searching-and-Sorting-First-Intersected-Primitive-tp4656090.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Spatial Searching and Sorting - First Intersected Primitive, gg++, 10/29/2012
Archive powered by MHonArc 2.6.18.