You’re reading an older version of the Slamcore SDK documenation. The latest one is 23.04.
Class slamcore::Range2D
-
class Range2D
Captures the half-open 2D interval [(x_min, y_min), (x_max, y_max))
Public Functions
-
Range2D() = default
-
inline Range2D expanded(const ValueT &point) const
Return a new Range so that the point is within the range.
-
inline Range2D intersection(const Range2D &other) const
Return a new range of the intersection of this range with another.
-
inline bool empty() const
Check if the range is empty.
-
Range2D() = default