struct box_coordinate_order
Declaration
struct box_coordinate_order { /* full declaration omitted */ };
Description
Comparison operator (similar to std::less) that orders boxes by their minimum, then their maximum, both starting with the first ("slowest") dimension. This ordering is somewhat arbitrary but allows equality comparisons between ordered sequences of boxes (i.e., regions)
Member Function Overview
- template <int Dims>
operator()(const box<Dims> & lhs, const box<Dims> & rhs) const → bool
Member Functions
¶template <int Dims>
bool operator()(const box<Dims>& lhs,
const box<Dims>& rhs) const
template <int Dims>
bool operator()(const box<Dims>& lhs,
const box<Dims>& rhs) const
Template Parameters
- int Dims
Parameters
- const box<Dims>& lhs
- const box<Dims>& rhs