The class AABB_traits<GeomTraits,Primitive> is a model of the concept AABBTraits. 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.
#include <CGAL/AABB_traits.h>
typedef GeomTraits::Point_3 | Point_3; | Point query type. |
typedef GeomTraits::Ray_3 | Ray_3; | Ray query type. |
typedef GeomTraits::Line_3 | Line_3; | Line query type. |
typedef GeomTraits::Segment_3 | Segment_3; | Segment query type. |
AABB_traits<GeomTraits,Primitive>::size_type | |
Unsigned integral type.
| |
AABB_traits<GeomTraits,Primitive> traits ( GeomTraits gt = GeomTraits()); | |
Default constructor.
|
AABBTraits,
AABB_tree<AT>,
AABBPrimitive