A coordinate class intended to represent absolute positions.
More...
#include <CoordinateBase.h>
|
| | 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) |
| |
| bool | operator== (Point< T, N > const &other) const |
| | Standard equality comparison. More...
|
| |
| bool | operator!= (Point< T, N > const &other) const |
| | Standard inequality comparison. More...
|
| |
| Extent< T, N > | asExtent () const |
| | Cast this object to an Extent of the same numeric type and dimensionality. 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) |
| |
| 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...
|
| |
template<typename T, int N>
class lsst::afw::geom::Point< T, N >
A coordinate class intended to represent absolute positions.
See Operators on Point and Extent for mathematical operators on Point.
Definition at line 42 of file CoordinateBase.h.
◆ EigenVector
template<typename T, int N>
◆ Point() [1/4]
template<typename T, int N>
Construct a Point with all elements set to the same scalar value.
Definition at line 158 of file Point.h.
◆ Point() [2/4]
template<typename T, int N>
template<typename U >
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).
◆ Point() [3/4]
template<typename T, int N>
Construct a Point from an Eigen vector.
Definition at line 171 of file Point.h.
◆ Point() [4/4]
template<typename T, int N>
◆ swap()
template<typename T, int N>
The documentation for this class was generated from the following files: