Class

CGAL::AABB_traits<GeomTraits,Primitive>

Definition

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.

Parameters

The template parameter GeomTraits provides the geometric types as well as the intersection tests and computations required. This type must be a model of the concept AABBGeomTraits. The template parameter Primitive provides the type of primitives stored in the AABB tree. This parameter must be a model of the concept AABBPrimitive.

#include <CGAL/AABB_traits.h>

Types

typedef GeomTraits::FT FT;
typedef GeomTraits::Point_3 Point_3;
typedef CGAL::Bbox_3 Bounding_box;

AABB_traits<GeomTraits,Primitive> traits ( GeomTraits gt = GeomTraits());
Default constructor.

See Also

AABBTraits,
AABB_tree<AT>,
AABBPrimitive