From 01ef95783dad524dd07db8d69c239bbd8c71ccc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20M=C3=B6ller?= Date: Thu, 22 Oct 2015 16:53:04 +0200 Subject: [PATCH] Add prototype for Intersection_distance --- AABB_tree/include/CGAL/AABB_traits.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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;