CGAL 6.0.1 - Fast Intersection and Distance Computation (AABB Tree)
|
#include <CGAL/AABB_triangle_primitive_2.h>
Primitive type that uses as identifier an iterator with a 2D triangle as value_type
.
The iterator from which the primitive is built should not be invalided while the AABB tree holding the primitive is in use.
AABBPrimitive
GeomTraits | is a traits class providing the nested type Point_2 and Triangle_2 . It also provides the functor Construct_vertex_2 that has an operator taking a Triangle_2 and an integer as parameters and returning a triangle point as a type convertible to Point_2 . |
Iterator | is a model of ForwardIterator with its value type convertible to GeomTraits::Triangle_2 |
CacheDatum | is either CGAL::Tag_true or CGAL::Tag_false . In the former case, the datum is stored in the primitive, while in the latter it is constructed on the fly to reduce the memory footprint. The default is CGAL::Tag_false (datum is not stored). |
AABBPrimitive
AABB_primitive<Id,ObjectPropertyMap,PointPropertyMapPolyhedron,ExternalPropertyMaps,CacheDatum>
AABB_segment_primitive_2<GeomTraits,Iterator,CacheDatum>
AABB_triangle_primitive_3<GeomTraits,Iterator,CacheDatum>
Public Member Functions | |
AABB_triangle_primitive_2 (Iterator it) | |
constructor from an iterator | |