CGAL 4.5.2 - 3D Fast Intersection and Distance Computation (AABB Tree)
|
#include <CGAL/AABB_traits.h>
CGAL::internal::AABB_tree::AABB_traits_base< Primitive, has_shared_data >.
This traits class handles any type of 3D geometric primitives provided that the proper intersection tests and constructions are implemented.
It handles points, rays, lines and segments as query types for intersection detection and computations, and it handles points as query type for distance queries.
GeomTraits | must be a model of the concept AABBGeomTraits, snd provide the geometric types as well as the intersection tests and computations. |
Primitive | provide the type of primitives stored in the AABB_tree. It is a model of the concept AABBPrimitive or AABBPrimitiveWithSharedData . |
Classes | |
struct | Intersection_and_primitive_id |
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). More... | |
Public Member Functions | |
AABB_traits () | |
Default constructor. | |
Types | |
typedef GeomTraits::Point_3 | Point_3 |
Point query type. | |
typedef GeomTraits::Iso_cuboid_3 | Iso_cuboid_3 |
additionnal types for the search tree, required by the RangeSearchTraits concept More... | |
typedef CGAL::Bbox_3 | Bounding_box |
typedef GeomTraits::Iso_cuboid_3 CGAL::AABB_traits< GeomTraits, AABBPrimitive >::Iso_cuboid_3 |
additionnal types for the search tree, required by the RangeSearchTraits concept