lsst.jointcal
19.0.0-13-g16625d3+3
|
Go to the documentation of this file.
25 #ifndef LSST_JOINTCAL_FRAME_H
26 #define LSST_JOINTCAL_FRAME_H
78 void cutMargin(
const double marginX,
const double marginY);
93 bool inFrame(
double x,
double y)
const;
115 #endif // LSST_JOINTCAL_FRAME_H
bool inFrame(const Point &point) const
same as above
Frame operator+(const Frame &right) const
union of Frames
Frame rescale(const double factor) const
rescale it. The center does not move.
void print(std::ostream &out) const
Frame & operator*=(const Frame &right)
intersection of Frame's
Frame & operator+=(const Frame &right)
union of Frames
double getHeight() const
size along y axis
double xMin
coordinate of boundary.
void cutMargin(const double marginSize)
shrinks the frame (if marginSize>0), enlarges it (if marginSize<0).
double getWidth() const
size along x axis
Frame operator*(const Frame &right) const
intersection of Frame's.
Class for a simple mapping implementing a generic AstrometryTransform.
double minDistToEdges(const Point &point) const
distance to closest boundary.
Frame()
Default constructor.
bool inFrame(double x, double y) const
inside?
friend std::ostream & operator<<(std::ostream &stream, const Frame &right)
allows
bool operator!=(const Frame &right) const
comparison
rectangle with sides parallel to axes.
Point getCenter() const
Center of the frame.
bool operator==(const Frame &right) const
necessary for comparisons (!= is defined from this one implicitely)