Rename 'D' to 'Dimension'

This wasn't a real requirement as none of the models provided by CGAL
actually provided this typedef, but it's in the concept to explicit
the dimension requirements between the kd-tree and the object.
This commit is contained in:
Mael Rouxel-Labbé 2020-11-30 18:41:13 +01:00
parent 869833136d
commit 653dc4896f
1 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ public:
/*!
Dimension Tag.
*/
typedef unspecified_type D;
typedef unspecified_type Dimension;
/*!
represents a `d`-dimensional point.
@ -53,13 +53,13 @@ bool contains_point_given_as_coordinates(Coord_iterator begin, Coord_iterator en
Test whether the inner approximation of the spatial object intersects a rectangle
associated with a node of a tree.
*/
bool inner_range_intersects(const Kd_tree_rectangle<FT,D>& rectangle) const;
bool inner_range_intersects(const Kd_tree_rectangle<FT,Dimension>& rectangle) const;
/*!
Test whether the outer approximation of the spatial object encloses the rectangle
associated with a node of a tree.
*/
bool outer_range_contains(const Kd_tree_rectangle<FT,D>& rectangle) const;
bool outer_range_contains(const Kd_tree_rectangle<FT,Dimension>& rectangle) const;
/// @}