31 template <
typename T,
int N>
44 template <
typename T,
int N>
47 for (
int n = 0; n < N; ++n) r[n] = this->_vector[n] == other[n];
51 template <
typename T,
int N>
54 for (
int n = 0; n < N; ++n) r[n] = this->_vector[n] != other[n];
58 template <
typename T,
int N>
61 for (
int n = 0; n < N; ++n) r[n] = this->_vector[n] < other[n];
65 template <
typename T,
int N>
68 for (
int n = 0; n < N; ++n) r[n] = this->_vector[n] <= other[n];
72 template <
typename T,
int N>
75 for (
int n = 0; n < N; ++n) r[n] = this->_vector[n] > other[n];
79 template <
typename T,
int N>
82 for (
int n = 0; n < N; ++n) r[n] = this->_vector[n] >= other[n];
86 template <
typename T,
int N>
91 template <
typename T,
int N>
99 for (
int i = 0; i < N; ++i) {
100 result[i] =
static_cast<int>(input[i]);
108 for (
int i = 0; i < N; ++i) {
117 for (
int i = 0; i < N; ++i) {
A coordinate class intended to represent absolute positions (2-d specialization). ...
A coordinate class intended to represent offsets and dimensions.
ItemVariant const * other
constexpr Angle operator+(Angle a, Angle d) noexcept
Sum of two angles.
A coordinate class intended to represent absolute positions.
EigenVector const & asEigen() const
Return a fixed-size Eigen representation of the coordinate object.
A base class for image defects.
std::unique_ptr< SchemaItem< U > > result
Extent< int, N > truncate(Extent< double, N > const &input)
Return the component-wise truncation (round towards zero).
Extent< int, N > ceil(Extent< double, N > const &input)
Return the component-wise ceil (round towards more positive).
Extent< int, N > floor(Extent< double, N > const &input)
Return the component-wise floor (round towards more negative).
Extent(T val=static_cast< T >(0))
Construct an Extent with all elements set to the same scalar value.
A coordinate class intended to represent absolute positions (3-d specialization). ...