Class

CGAL::AABB_polyhedron_segment_primitive<GeomTraits,Polyhedron>

Definition

The class AABB_polyhedron_segment_primitive<GeomTraits,Polyhedron> is a model of the concept AABBPrimitive. It wraps a halfedge handle of a polyhedron, which is used as id, and allows the construction of the datum on the fly. Since only the halfedge handle is stored in this primitive, the polyhedron from which the AABB tree is built should not be deleted while the AABB tree is in use.

Parameters

The template parameter GeomTraits provides a Point_3 type, used as Point, and a Segment_3 type, used as Datum and constructible from two arguments of type Point. The template parameter Polyhedron should be a CGAL::Polyhedron whose points have type Point.

#include <CGAL/AABB_polyhedron_segment_primitive.h>

Types

typedef GeomTraits::Segment_3 Datum; Geometric data type.
typedef Polyhedron::Halfedge_handle
Id; Id type.

See Also

AABBPrimitive,
AABB_polyhedron_triangle_primitive<GeomTraits,Polyhedron>