LSSTApplications  17.0+10,17.0+57,17.0+99,18.0.0+12,18.0.0+21,18.0.0+4,18.0.0+48,18.0.0-2-ge43143a+9,18.1.0-1-g0001055+5,18.1.0-1-g03d53ef,18.1.0-1-g1349e88+23,18.1.0-1-g2505f39+18,18.1.0-1-g380d4d4+22,18.1.0-1-g5315e5e,18.1.0-1-g5e4b7ea+7,18.1.0-1-g7e8fceb,18.1.0-1-g85f8cd4+19,18.1.0-1-g9a6769a+9,18.1.0-1-ga1a4c1a+18,18.1.0-1-gd55f500+12,18.1.0-12-g42eabe8e+5,18.1.0-14-gd04256d+10,18.1.0-15-gc153667b+4,18.1.0-16-g069e110+4,18.1.0-16-g27f8efa26,18.1.0-2-gfbf3545+3,18.1.0-2-gfefb8b5+12,18.1.0-3-g52aa583+9,18.1.0-3-g62b5e86+9,18.1.0-3-g8f4a2b1+13,18.1.0-3-g9bc06b8+3,18.1.0-3-gb69f684+4,18.1.0-4-g1ee41a7,18.1.0-5-g6dbcb01+9,18.1.0-5-gbd1decb+1,18.1.0-5-gc286bb7,18.1.0-6-g87475ad+3,18.1.0-6-gd05e160+4,18.1.0-7-gebc0338+4,18.1.0-9-gae7190a+5,w.2019.37
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