CGAL 5.6 - 3D Fast Intersection and Distance Computation (AABB Tree)
CGAL::AABB_polyhedron_triangle_primitive< GeomTraits, Polyhedron > Class Template Reference

#include <CGAL/AABB_polyhedron_triangle_primitive.h>

Definition

Deprecated:
This class is deprecated since CGAL 4.3, the class AABB_face_graph_triangle_primitive should be used instead.

Primitive type that wraps a facet handle of a polyhedron, which is used as id, and allows the construction of the datum on the fly. Since only the facet 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.

Is Model Of:
AABBPrimitive
Template Parameters
GeomTraitsmust provides a Point_3 type, used as Point, and a Triangle_3 type, used as Datum and constructible from three arguments of type Point.
Polyhedronmust be a CGAL::Polyhedron_3 whose points have type Point.
See also
AABBPrimitive
AABB_polyhedron_segment_primitive

Types

typedef Polyhedron::Facet_handle Id
 Id type.
 
typedef GeomTraits::Triangle_3 Datum
 Geometric data type.