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