|
CGAL 6.3 - Fast Intersection and Distance Computation (AABB Tree)
|
#include <CGAL/AABB_indexed_triangle_primitive_3.h>
Primitive type that uses as an identifier an index into a range of triplets of indices as its value_type.
The range of triplets and the range of points must not be invalidated while the AABB tree holding this primitive is in use.
AABBPrimitive | GeomTraits | is a traits class providing the nested type Point_3 and Triangle_3. It also provides the functor Construct_triangle_3 that has an operator taking three Point_3 as parameters and returns a Triangle_3 |
| PointRange | is a model of RandomAccessRange. Its value type needs to be compatible to PointMap or Point_3 in the default case. |
| FaceRange | is a model of RandomAccessRange. Its value type needs to a RandomAccessRange of size 3 with value_type begin std::size_t. |
| 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, that is the datum is not stored. |
| PointMap | is a model of ReadablePropertyMap with its key type being the value type of PointRange and the value type being a Point_3. The default is CGAL::Identity_property_map<PointRange::value_type>. |