CGAL 4.9 - 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.