CGAL 4.5.1 - 3D Fast Intersection and Distance Computation (AABB Tree)
|
#include <CGAL/AABB_traits.h>
Intersection_and_primitive_id<Query>::Type::first_type
is found according to the result type of GeomTraits::Intersect_3::operator()
, (that is cpp11::result_of<GeomTraits::Intersect_3(Query, Primitive::Datum)>::type).
If it is boost::optional<T>
then it is T
, and the result type otherwise.