diff --git a/AABB_tree/include/CGAL/AABB_traits.h b/AABB_tree/include/CGAL/AABB_traits.h index 0921b4c0f8d..f27782d075f 100644 --- a/AABB_tree/include/CGAL/AABB_traits.h +++ b/AABB_tree/include/CGAL/AABB_traits.h @@ -300,6 +300,20 @@ public: Intersection intersection_object() const {return Intersection(*this);} + class Intersection_distance { + const AABB_traits& m_traits; + public: + Intersection_distane(const AABB_traits& traits) + : m_traits(traits) {} + + template + boost::optional operator()(const Ray& ray, const Bounding_box& bbox) { + return boost::none; + } + }; + + Intersection_distance intersection_distance_object const { return Intersection_distance(*this); } + // This should go down to the GeomTraits, i.e. the kernel class Closest_point { typedef typename AT::Point_3 Point;