|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
24 #include "itkIntTypes.h"
50 #if defined(__cpp_constexpr) && __cpp_constexpr >= 201304
64 constexpr
bool empty() const noexcept
82 #if defined(__cpp_constexpr) && __cpp_constexpr >= 201304
83 auto const low = std::max(lhs.lower(), rhs.lower());
84 auto const upp = std::min(lhs.upper(), rhs.upper());
90 return std::max(lhs.lower(), rhs.lower()) <= std::min(lhs.upper(), rhs.upper())
91 ?
Interval{std::max(lhs.lower(), rhs.lower()), std::min(lhs.upper(), rhs.upper())}
101 return os <<
'[' << v.
lower() <<
".." << v.
upper() <<
'[';
110 #endif // otbInterval_h
itk::IndexValueType IndexType
constexpr IndexType lower() const noexcept
itk::SizeValueType SizeType
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
constexpr friend Interval intersect(Interval const &lhs, Interval const &rhs) noexcept
static constexpr Interval OfLength(IndexType low, SizeType len) noexcept
constexpr IndexType upper() const noexcept
std::vcl_size_t len(char)
constexpr Interval(IndexType l, IndexType u) noexcept
constexpr bool empty() const noexcept
constexpr SizeType size() const noexcept
friend std::ostream & operator<<(std::ostream &os, Interval const &v)