#include <CGAL/Kd_tree_rectangle.h>
The class Kd_tree_rectangle implements d-dimensional iso-rectangles and related operations, e.g., methods to compute bounding boxes of point sets.
- Examples:
- Spatial_searching/Distance.h.
|
(Note that these are not member functions.)
|
| template<class FT > |
| std::ostream & | operator<< (std::ostream &s, Kd_tree_rectangle< FT > &r) |
| | Inserts rectangle r in the output stream s and returns s. More...
|
| |
|
| | Kd_tree_rectangle (int d) |
| | Constructs a d-dimensional rectangle r with lower bound and upper bound set to zero in each dimension. More...
|
| |
| template<class Construct_cartesian_const_iterator_d , class PointIter > |
| | Kd_tree_rectangle (int d, PointIter begin, PointIter end, const Construct_cartesian_const_iterator_d &construct_it) |
| | Constructs the bounding box of the points in the range [begin,end), where the value type of PointIter can be used by operators of functors Construct_cartesian_const_iterator_d to define iterators with value type FT. More...
|
| |
template<typename FT, typename Dimension>
template<typename FT, typename Dimension>
template<typename FT, typename Dimension>
Constructs a d-dimensional rectangle r with lower bound and upper bound set to zero in each dimension.
template<typename FT, typename Dimension>
template<class Construct_cartesian_const_iterator_d , class PointIter >
Constructs the bounding box of the points in the range [begin,end), where the value type of PointIter can be used by operators of functors Construct_cartesian_const_iterator_d to define iterators with value type FT.
template<typename FT, typename Dimension>
Returns the dimension of the rectangle.
template<typename FT, typename Dimension>
Returns the upper bound of the rectangle in dimension i.
template<typename FT, typename Dimension>
Returns the maximal span of the rectangle.
template<typename FT, typename Dimension>
Returns the smallest coordinate for which the rectangle has its maximal span.
template<typename FT, typename Dimension>
Returns the lower bound of the rectangle in dimension i.
template<typename FT, typename Dimension>
Sets lower bound in dimension i to x.
template<typename FT, typename Dimension>
Sets upper bound in dimension i to x.
template<typename FT, typename Dimension>
Splits rectangle in dimension d at coordinate-value value by modifying itself to lower half and by modifying r to upper half.
Inserts rectangle r in the output stream s and returns s.