|
LSSTApplications
8.0.0.0+107,8.0.0.1+13,9.1+18,9.2,master-g084aeec0a4,master-g0aced2eed8+6,master-g15627eb03c,master-g28afc54ef9,master-g3391ba5ea0,master-g3d0fb8ae5f,master-g4432ae2e89+36,master-g5c3c32f3ec+17,master-g60f1e072bb+1,master-g6a3ac32d1b,master-g76a88a4307+1,master-g7bce1f4e06+57,master-g8ff4092549+31,master-g98e65bf68e,master-ga6b77976b1+53,master-gae20e2b580+3,master-gb584cd3397+53,master-gc5448b162b+1,master-gc54cf9771d,master-gc69578ece6+1,master-gcbf758c456+22,master-gcec1da163f+63,master-gcf15f11bcc,master-gd167108223,master-gf44c96c709
LSSTDataManagementBasePackage
|
A coordinate class intended to represent absolute positions. More...
#include <CoordinateBase.h>
Public Types | |
| typedef Super::EigenVector | EigenVector |
Public Types inherited from lsst::afw::geom::CoordinateBase< Point< T, N >, T, N > | |
| typedef T | Element |
| typedef Eigen::Matrix< T, N, 1, Eigen::DontAlign > | EigenVector |
Public Member Functions | |
| Point (T val=static_cast< T >(0)) | |
| Construct a Point with all elements set to the same scalar value. More... | |
| template<typename U > | |
| Point (Point< U, N > const &other) | |
| Explicit converting constructor. More... | |
| Point (EigenVector const &vector) | |
| Construct a Point from an Eigen vector. More... | |
| Point (Extent< T, N > const &other) | |
| Explicit constructor from Extent. More... | |
| void | swap (Point &other) |
Public Member Functions inherited from lsst::afw::geom::PointBase< T, N > | |
| bool | operator== (Point< T, N > const &other) const |
| Standard equality comparison. More... | |
| bool | operator!= (Point< T, N > const &other) const |
| Standard inequality comparison. More... | |
| void | shift (Extent< T, N > const &offset) |
| Shift the point by the given offset. More... | |
| void | scale (double factor) |
| double | distanceSquared (PointBase< T, N > const &other) const |
| std::string | toString () const |
| CoordinateExpr< N > | eq (Point< T, N > const &other) const |
| CoordinateExpr< N > | ne (Point< T, N > const &other) const |
| CoordinateExpr< N > | lt (Point< T, N > const &other) const |
| CoordinateExpr< N > | le (Point< T, N > const &other) const |
| CoordinateExpr< N > | gt (Point< T, N > const &other) const |
| CoordinateExpr< N > | ge (Point< T, N > const &other) const |
| CoordinateExpr< N > | eq (T scalar) const |
| CoordinateExpr< N > | ne (T scalar) const |
| CoordinateExpr< N > | lt (T scalar) const |
| CoordinateExpr< N > | le (T scalar) const |
| CoordinateExpr< N > | gt (T scalar) const |
| CoordinateExpr< N > | ge (T scalar) const |
| Extent< T, N > | operator- (Point< T, N > const &other) const |
| Point< T, N > | operator+ (Extent< T, N > const &other) const |
| Point< T, N > | operator- (Extent< T, N > const &other) const |
| Point< T, N > & | operator+= (Extent< T, N > const &other) |
| Point< T, N > & | operator-= (Extent< T, N > const &other) |
Public Member Functions inherited from lsst::afw::geom::CoordinateBase< Point< T, N >, T, N > | |
| 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... | |
Private Types | |
| typedef PointBase< T, N > | Super |
Additional Inherited Members | |
Static Public Attributes inherited from lsst::afw::geom::CoordinateBase< Point< T, N >, T, N > | |
| static int const | dimensions |
Protected Member Functions inherited from lsst::afw::geom::PointBase< T, N > | |
| PointBase (T val=static_cast< T >(0)) | |
| template<typename Vector > | |
| PointBase (Eigen::MatrixBase< Vector > const &vector) | |
Protected Member Functions inherited from lsst::afw::geom::CoordinateBase< Point< T, N >, T, N > | |
| CoordinateBase (T val=static_cast< T >(0)) | |
| Initialize all elements to a scalar. More... | |
| CoordinateBase (Eigen::MatrixBase< Vector > const &vector) | |
| Initialize all elements from an N-d Eigen vector. More... | |
| void | _swap (CoordinateBase &other) |
Protected Attributes inherited from lsst::afw::geom::CoordinateBase< Point< T, N >, T, N > | |
| EigenVector | _vector |
A coordinate class intended to represent absolute positions.
Definition at line 40 of file CoordinateBase.h.
| typedef Super::EigenVector lsst::afw::geom::Point< T, N >::EigenVector |
|
private |
|
inlineexplicit |
|
explicit |
Explicit converting constructor.
Converting from floating point to integer rounds to the nearest integer instead of truncating. This ensures that a floating-point pixel coordinate converts to the coordinate of the pixel it lies on (assuming the floating point origin is the center of the first pixel).
|
inlineexplicit |
|
inlineexplicit |
|
inline |
Definition at line 169 of file Point.h.
1.8.5