126 <<
", " <<
yMax <<
")";
rectangle with sides parallel to axes.
void print(std::ostream &out) const
void cutMargin(double marginSize)
shrinks the frame (if marginSize>0), enlarges it (if marginSize<0).
bool inFrame(double x, double y) const
inside?
Frame operator*(const Frame &right) const
intersection of Frame's.
double minDistToEdges(const Point &point) const
distance to closest boundary.
double xMin
coordinate of boundary.
Frame()
Default constructor.
bool operator==(const Frame &right) const
necessary for comparisons (!= is defined from this one implicitely)
Frame rescale(double factor) const
rescale it. The center does not move.
Frame & operator*=(const Frame &right)
intersection of Frame's
Frame & operator+=(const Frame &right)
union of Frames
Frame operator+(const Frame &right) const
union of Frames
T setprecision(T... args)