Add prototype for Intersection_distance

This commit is contained in:
Philipp Möller 2015-10-22 16:53:04 +02:00 committed by Sébastien Loriot
parent 88acc3d1b3
commit 01ef95783d
1 changed files with 14 additions and 0 deletions

View File

@ -300,6 +300,20 @@ public:
Intersection intersection_object() const {return Intersection(*this);}
class Intersection_distance {
const AABB_traits<GeomTraits,AABBPrimitive>& m_traits;
public:
Intersection_distane(const AABB_traits<GeomTraits,AABBPrimitive>& traits)
: m_traits(traits) {}
template<typename Ray>
boost::optional<AABB_traits::FT> 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;