diff --git a/AABB_tree/include/CGAL/AABB_intersections.h b/AABB_tree/include/CGAL/AABB_intersections.h index a7a37f7c2f5..5ca894f38c3 100644 --- a/AABB_tree/include/CGAL/AABB_intersections.h +++ b/AABB_tree/include/CGAL/AABB_intersections.h @@ -13,5 +13,5 @@ #include #include -#include #include +#include diff --git a/AABB_tree/include/CGAL/AABB_node.h b/AABB_tree/include/CGAL/AABB_node.h index ceaae602227..46738229b14 100644 --- a/AABB_tree/include/CGAL/AABB_node.h +++ b/AABB_tree/include/CGAL/AABB_node.h @@ -72,9 +72,9 @@ public: * @param traits the traversal traits that define the traversal behaviour * @param nb_primitives the number of primitive * - * General traversal query, the traits class allows to use it for the various + * General traversal query. The traits class allows using it for the various * traversal methods we need: listing, counting, detecting intersections, - * drawing the boxes... + * drawing the boxes. */ template void traversal(const Query& query, @@ -102,7 +102,7 @@ private: Primitive& right_data() { return *static_cast(m_p_right_child); } private: - /// bounding box + /// node bounding box Bounding_box m_bbox; /// children nodes, either pointing towards children (if children are not leaves), diff --git a/AABB_tree/include/CGAL/AABB_tree.h b/AABB_tree/include/CGAL/AABB_tree.h index c51b1289784..441f867b38b 100644 --- a/AABB_tree/include/CGAL/AABB_tree.h +++ b/AABB_tree/include/CGAL/AABB_tree.h @@ -346,9 +346,8 @@ namespace CGAL { if(new_closest_point != m_closest_point) { m_closest_primitive = primitive.id(); - m_closest_point = new_closest_point; + m_closest_point = new_closest_point; // this effectively shrinks the sphere } -// m_sphere = AABBTraits().sphere(query, m_closest_point); } bool do_intersect(const Point& query, const Node& node) const