template<typename Key, typename Compare>
class spatial::open_bounds< Key, Compare >
A model of Region Predicate that checks if a value of type
Key is contained within the open boundaries defined by
To be very specific, given a dimension we define that is contained in the open boundaries if:
Simply stated, open_bounds used in a region_iterator will match all keys that are strictly within the region defined by
- Template Parameters
|Key||The type used during the comparison. |
|Compare||The comparison functor using to compare 2 objects of type |
Key along the same dimension.
- This object is a model of Region Predicate
Definition at line 41 of file spatial_open_region.hpp.
template<typename Key , typename Compare >
Set the lower and upper boundary for the orthogonal range search in the region.
- See also
The constructor does not check that elements of lower are lesser than elements of
upper along any dimension. Therefore you must be careful of the order in which these values are inserted.
|compare||The comparison functor, for initialization. |
|lower||The value of the lower bound. |
|upper||The value of the upper bound. |
Definition at line 64 of file spatial_open_region.hpp.