LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
|
Specialization of CoordinateBase for 2 dimensions. More...
#include <CoordinateBase.h>
Public Types | |
typedef T | Element |
typedef Eigen::Matrix< T, 2, 1, Eigen::DontAlign > | EigenVector |
Public Member Functions | |
T & | operator[] (int n) |
T const & | operator[] (int n) const |
T & | coeffRef (int n) |
T const & | coeffRef (int n) const |
EigenVector const & | asEigen () const |
Return a fixed-size Eigen representation of the coordinate object. More... | |
T const & | getX () const |
T const & | getY () const |
T & | getX () |
T & | getY () |
void | setX (T x) |
void | setY (T y) |
std::pair< T, T > | asPair () const |
Return a std::pair representation of the coordinate object. More... | |
boost::tuple< T, T > | asTuple () const |
Return a boost::tuple representation of the coordinate object. More... | |
Static Public Attributes | |
static int const | dimensions = 2 |
Protected Member Functions | |
CoordinateBase (T val=static_cast< T >(0)) | |
template<typename Vector > | |
CoordinateBase (Eigen::MatrixBase< Vector > const &vector) | |
void | _swap (CoordinateBase &other) |
Protected Attributes | |
EigenVector | _vector |
Specialization of CoordinateBase for 2 dimensions.
Definition at line 103 of file CoordinateBase.h.
typedef Eigen::Matrix<T,2,1,Eigen::DontAlign> lsst::afw::geom::CoordinateBase< Derived, T, 2 >::EigenVector |
Definition at line 107 of file CoordinateBase.h.
typedef T lsst::afw::geom::CoordinateBase< Derived, T, 2 >::Element |
Definition at line 105 of file CoordinateBase.h.
|
inlineexplicitprotected |
Definition at line 139 of file CoordinateBase.h.
|
inlineexplicitprotected |
Definition at line 142 of file CoordinateBase.h.
|
inlineprotected |
Definition at line 143 of file CoordinateBase.h.
|
inline |
Return a fixed-size Eigen representation of the coordinate object.
The fact that this returns by const reference rather than by value should not be considered part of the API; this is merely an optimization enabled by the implementation.
Definition at line 121 of file CoordinateBase.h.
|
inline |
Return a std::pair representation of the coordinate object.
Definition at line 132 of file CoordinateBase.h.
|
inline |
Return a boost::tuple representation of the coordinate object.
Definition at line 135 of file CoordinateBase.h.
|
inline |
Definition at line 112 of file CoordinateBase.h.
|
inline |
Definition at line 113 of file CoordinateBase.h.
|
inline |
Definition at line 124 of file CoordinateBase.h.
|
inline |
Definition at line 126 of file CoordinateBase.h.
|
inline |
Definition at line 125 of file CoordinateBase.h.
|
inline |
Definition at line 127 of file CoordinateBase.h.
|
inline |
Definition at line 110 of file CoordinateBase.h.
|
inline |
Definition at line 111 of file CoordinateBase.h.
|
inline |
Definition at line 128 of file CoordinateBase.h.
|
inline |
Definition at line 129 of file CoordinateBase.h.
|
protected |
Definition at line 144 of file CoordinateBase.h.
|
static |
Definition at line 106 of file CoordinateBase.h.