LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
30 template <
typename T,
int N>
46 template <
typename T,
int N>
49 for (
int n = 0; n < N; ++n) r[n] = this->_vector[n] ==
other[n];
53 template <
typename T,
int N>
56 for (
int n = 0; n < N; ++n) r[n] = this->_vector[n] !=
other[n];
60 template <
typename T,
int N>
63 for (
int n = 0; n < N; ++n) r[n] = this->_vector[n] <
other[n];
67 template <
typename T,
int N>
70 for (
int n = 0; n < N; ++n) r[n] = this->_vector[n] <=
other[n];
74 template <
typename T,
int N>
77 for (
int n = 0; n < N; ++n) r[n] = this->_vector[n] >
other[n];
81 template <
typename T,
int N>
84 for (
int n = 0; n < N; ++n) r[n] = this->_vector[n] >=
other[n];
88 template <
typename T,
int N>
93 template <
typename T,
int N>
95 noexcept(Super::IS_ELEMENT_NOTHROW_COPYABLE) {
102 for (
int i = 0; i < N; ++i) {
111 for (
int i = 0; i < N; ++i) {
120 for (
int i = 0; i < N; ++i) {
126 template <
typename T,
int N>
Extent(T val=static_cast< T >(0)) noexcept(Super::IS_ELEMENT_NOTHROW_COPYABLE)
Construct an Extent with all elements set to the same scalar value.
CoordinateExpr< N > eq(Extent< T, N > const &other) const noexcept
CoordinateExpr< N > ge(Extent< T, N > const &other) const noexcept
std::size_t hash_value(Extent< T, N > const &extent) noexcept
Extent< int, N > truncate(Extent< double, N > const &input) noexcept
Return the component-wise truncation (round towards zero).
ItemVariant const * other
CoordinateExpr< N > le(Extent< T, N > const &other) const noexcept
A base class for image defects.
std::size_t hashCombine(std::size_t seed) noexcept
Combine hashes.
A coordinate class intended to represent absolute positions (2-d specialization).
CoordinateExpr< N > ne(Extent< T, N > const &other) const noexcept
A coordinate class intended to represent absolute positions.
Eigen::Vector3d asEigen(sphgeom::Vector3d const &vector) noexcept
Extent< T, N > operator+() const noexcept(Super::IS_ELEMENT_NOTHROW_COPYABLE)
CoordinateExpr< N > gt(Extent< T, N > const &other) const noexcept
Extent< int, N > floor(Extent< double, N > const &input) noexcept
Return the component-wise floor (round towards more negative).
Extent< int, N > ceil(Extent< double, N > const &input) noexcept
Return the component-wise ceil (round towards more positive).
CoordinateExpr< N > lt(Extent< T, N > const &other) const noexcept
A coordinate class intended to represent offsets and dimensions.
Point< T, N > asPoint() const noexcept(Super::IS_ELEMENT_NOTHROW_COPYABLE)
Cast this object to an Extent of the same numeric type and dimensionality.