LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
A coordinate class intended to represent offsets and dimensions. More...
#include <CoordinateBase.h>
Public Types | |
typedef Super::EigenVector | EigenVector |
Public Member Functions | |
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. More... | |
Extent (EigenVector const &vector) noexcept(Super::IS_ELEMENT_NOTHROW_COPYABLE) | |
Construct an Extent from an Eigen vector. More... | |
Extent (Point< T, N > const &other) noexcept(Super::IS_ELEMENT_NOTHROW_COPYABLE) | |
Explicit constructor from Point. More... | |
template<typename U > | |
Extent (Extent< U, N > const &other) noexcept(IS_NOTHROW_CONVERTIBLE< T, U >) | |
Explicit constructor from Extent of different type (if allowed) More... | |
template<typename U > | |
Extent (Point< U, N > const &other) noexcept(IS_NOTHROW_CONVERTIBLE< T, U >) | |
Extent (Extent const &other)=default | |
Extent (Extent &&other)=default | |
~Extent ()=default | |
Extent & | operator= (Extent const &other)=default |
Extent & | operator= (Extent &&other)=default |
T | computeSquaredNorm () const |
Return the squared L2 norm of the Extent (x^2 + y^2 + ...). More... | |
T | computeNorm () const |
Return the L2 norm of the Extent (sqrt(x^2 + y^2 + ...)). More... | |
void | swap (Extent &other) noexcept |
A coordinate class intended to represent offsets and dimensions.
Much of the functionality of Extent is provided by its CRTP base class, ExtentBase.
See Operators on Point and Extent for mathematical operators on Extent.
Definition at line 41 of file CoordinateBase.h.
typedef Super::EigenVector lsst::geom::Extent< T, N >::EigenVector |
|
inlineexplicitnoexcept |
|
inlineexplicitnoexcept |
|
explicitnoexcept |
|
explicitnoexcept |
Explicit constructor from Extent of different type (if allowed)
|
explicitnoexcept |
|
default |
|
default |
|
default |
|
inline |
|
inline |
|
default |
|
default |
|
inlinenoexcept |