mirror of https://github.com/CGAL/cgal
http://gotw.ca/gotw/006.htm, accelerate_distance_queries and clear_search_tree should be const. To guarantee the read-only thread-safety, a mutex for the construction of the internal kd-tree is used. At the same time, optimize accelerate_distance_queries() to not redo computation if nothing has changed in the aabb_tree. Note that clear_search_tree does not need to be thread-safe as it is private. |
||
|---|---|---|
| .. | ||
| internal/AABB_tree | ||
| AABB_intersections.h | ||
| AABB_polyhedron_segment_primitive.h | ||
| AABB_polyhedron_triangle_primitive.h | ||
| AABB_segment_primitive.h | ||
| AABB_traits.h | ||
| AABB_tree.h | ||
| AABB_triangle_primitive.h | ||