|
lsst.afw
15.0-17-g0b88e3da8
|
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 | |
| CoordinateBase (CoordinateBase const &)=default | |
| CoordinateBase (CoordinateBase &&)=default | |
| CoordinateBase & | operator= (CoordinateBase const &)=default |
| CoordinateBase & | operator= (CoordinateBase &&)=default |
| ~CoordinateBase ()=default | |
| 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... | |
| std::tuple< T, T > | asTuple () const |
| Return a std::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 112 of file CoordinateBase.h.
| typedef Eigen::Matrix<T, 2, 1, Eigen::DontAlign> lsst::afw::geom::CoordinateBase< Derived, T, 2 >::EigenVector |
Definition at line 116 of file CoordinateBase.h.
| typedef T lsst::afw::geom::CoordinateBase< Derived, T, 2 >::Element |
Definition at line 114 of file CoordinateBase.h.
|
default |
|
default |
|
default |
|
inlineexplicitprotected |
Definition at line 151 of file CoordinateBase.h.
|
inlineexplicitprotected |
Definition at line 154 of file CoordinateBase.h.
|
inlineprotected |
Definition at line 155 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 135 of file CoordinateBase.h.
|
inline |
Return a std::pair representation of the coordinate object.
Definition at line 145 of file CoordinateBase.h.
|
inline |
Return a std::tuple representation of the coordinate object.
Definition at line 148 of file CoordinateBase.h.
|
inline |
Definition at line 126 of file CoordinateBase.h.
|
inline |
Definition at line 127 of file CoordinateBase.h.
|
inline |
Definition at line 137 of file CoordinateBase.h.
|
inline |
Definition at line 139 of file CoordinateBase.h.
|
inline |
Definition at line 138 of file CoordinateBase.h.
|
inline |
Definition at line 140 of file CoordinateBase.h.
|
default |
|
default |
|
inline |
Definition at line 124 of file CoordinateBase.h.
|
inline |
Definition at line 125 of file CoordinateBase.h.
|
inline |
Definition at line 141 of file CoordinateBase.h.
|
inline |
Definition at line 142 of file CoordinateBase.h.
|
protected |
Definition at line 156 of file CoordinateBase.h.
|
static |
Definition at line 115 of file CoordinateBase.h.
1.8.13