From 0f9f217f507a271c746bfd6dbad5dcb84bce99ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Tue, 12 Feb 2019 16:06:50 +0100 Subject: [PATCH] add an important note for first_intersection --- AABB_tree/include/CGAL/AABB_tree.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/AABB_tree/include/CGAL/AABB_tree.h b/AABB_tree/include/CGAL/AABB_tree.h index a3b0a928e6d..4a61c32440d 100644 --- a/AABB_tree/include/CGAL/AABB_tree.h +++ b/AABB_tree/include/CGAL/AABB_tree.h @@ -406,6 +406,12 @@ public: /// that returns `true` in order to skip the primitive. /// Defaults to a functor that always returns `false`. /// + /// \note `skip` might be given some primitives that are not intersected by `query` + /// because the intersection test is done after the skip test. Also note that + /// the order the primitives are given to `skip` is not necessarily the + /// intersection order with `query`. + /// + /// /// `AABBTraits` must be a model of `AABBRayIntersectionTraits` to /// call this member function. template