LSSTApplications  18.0.0+64,19.0.0+37,19.0.0+4,19.0.0+40,19.0.0+43,19.0.0+48,19.0.0+8,19.0.0-1-g20d9b18+20,19.0.0-1-g49a97f9+2,19.0.0-1-g5549ca4+3,19.0.0-1-g8c57eb9+20,19.0.0-1-ga72da6b+2,19.0.0-1-gbfe0924+29,19.0.0-1-ge272bc4+20,19.0.0-1-gefe1d0d+19,19.0.0-10-ged17d6e+1,19.0.0-12-gcc0ea3c,19.0.0-13-g154200d1e+1,19.0.0-2-g0d9f9cd+40,19.0.0-2-g260436e+23,19.0.0-2-g9675b69+2,19.0.0-2-g9b11441+28,19.0.0-2-gde8e5e3+2,19.0.0-2-gf01c5b1,19.0.0-2-gff6972b+4,19.0.0-22-g282de62,19.0.0-29-g47457369+1,19.0.0-3-g27e4659+8,19.0.0-3-g6513920+30,19.0.0-3-gce3f959+16,19.0.0-5-g9aa49c1+1,19.0.0-7-g2f7a0e4+8,19.0.0-7-g686a884+3,19.0.0-7-g99cd2d5+4,19.0.0-7-ga57c4689+15,19.0.0-8-g079e426+5,w.2020.09
LSSTDataManagementBasePackage
Classes | Namespaces | Typedefs | Functions
Extent.h File Reference
#include <tuple>
#include <type_traits>
#include "lsst/pex/exceptions.h"
#include "lsst/geom/CoordinateExpr.h"

Go to the source code of this file.

Classes

class  lsst::geom::ExtentBase< T, N >
 
class  lsst::geom::Extent< T, N >
 A coordinate class intended to represent offsets and dimensions. More...
 
class  lsst::geom::Extent< T, 2 >
 A coordinate class intended to represent offsets and dimensions (2-d specialization). More...
 
class  lsst::geom::Extent< T, 3 >
 A coordinate class intended to represent offsets and dimensions (3-d specialization). More...
 
struct  std::hash< lsst::geom::Extent< T, N > >
 

Namespaces

 lsst
 A base class for image defects.
 
 lsst::geom
 
 lsst::geom::detail
 
 std
 STL namespace.
 

Typedefs

typedef Extent< int, 2 > lsst::geom::ExtentI
 
typedef Extent< int, 2 > lsst::geom::Extent2I
 
typedef Extent< int, 3 > lsst::geom::Extent3I
 
typedef Extent< double, 2 > lsst::geom::ExtentD
 
typedef Extent< double, 2 > lsst::geom::Extent2D
 
typedef Extent< double, 3 > lsst::geom::Extent3D
 

Functions

template<int N>
double lsst::geom::detail::computeExtentNorm (Extent< double, N > const &s)
 
template<int N>
int lsst::geom::detail::computeExtentNorm (Extent< int, N > const &s)
 
template<typename T , int N>
std::size_t lsst::geom::hash_value (Extent< T, N > const &extent) noexcept
 
template<int N>
Extent< int, N > lsst::geom::truncate (Extent< double, N > const &input) noexcept
 Return the component-wise truncation (round towards zero). More...
 
template<int N>
Extent< int, N > lsst::geom::floor (Extent< double, N > const &input) noexcept
 Return the component-wise floor (round towards more negative). More...
 
template<int N>
Extent< int, N > lsst::geom::ceil (Extent< double, N > const &input) noexcept
 Return the component-wise ceil (round towards more positive). More...
 
template<typename T , int N>
Extent< T, N > lsst::geom::operator* (T scalar, ExtentBase< T, N > const &rhs) noexcept(ExtentBase< T, N >::IS_ELEMENT_NOTHROW_COPYABLE)
 
template<int N>
Extent< double, N > lsst::geom::operator* (ExtentBase< int, N > const &lhs, double rhs) noexcept
 
template<int N>
void lsst::geom::operator*= (ExtentBase< int, N > &lhs, double rhs) noexcept
 
template<int N>
Extent< double, N > lsst::geom::operator/ (ExtentBase< int, N > const &lhs, double rhs) noexcept
 
template<int N>
void lsst::geom::operator/= (ExtentBase< int, N > &lhs, double rhs) noexcept
 
template<int N>
Extent< double, N > lsst::geom::operator* (double lhs, ExtentBase< int, N > const &rhs) noexcept
 
template<int N>
Extent< double, N > lsst::geom::operator+ (Extent< double, N > const &lhs, Extent< int, N > const &rhs) noexcept
 
template<int N>
Extent< double, N > & lsst::geom::operator+= (Extent< double, N > &lhs, Extent< int, N > const &rhs) noexcept
 
template<int N>
Extent< double, N > lsst::geom::operator- (Extent< double, N > const &lhs, Extent< int, N > const &rhs) noexcept
 
template<int N>
Extent< double, N > & lsst::geom::operator-= (Extent< double, N > &lhs, Extent< int, N > const &rhs) noexcept
 
template<int N>
Extent< double, N > lsst::geom::operator+ (Extent< int, N > const &lhs, Extent< double, N > const &rhs) noexcept
 
template<int N>
Extent< double, N > lsst::geom::operator- (Extent< int, N > const &lhs, Extent< double, N > const &rhs) noexcept