25 #ifndef LSST_JOINTCAL_POINT_H
26 #define LSST_JOINTCAL_POINT_H
47 Point(
double xx,
double yy) :
x(xx),
y(yy){};
51 return sqrt((
x - other.
x) * (
x - other.
x) + (
y - other.
y) * (
y - other.
y));
56 return ((
x - other.
x) * (
x - other.
x) + (
y - other.
y) * (
y - other.
y));
virtual void print(std::ostream &s=std::cout) const
utility
Point operator+(const Point &Right) const
Sum.
double computeDist2(const Point &other) const
distance squared to other
friend std::ostream & operator<<(std::ostream &stream, const Point &point)
double Distance(const Point &other) const
Point(double xx, double yy)
Point operator-(const Point &Right) const
Difference.
std::ostream & operator<<(std::ostream &stream, AstrometryMapping const &mapping)
Class for a simple mapping implementing a generic AstrometryTransform.