casa
5.7.0-16
|
A PlotRegion is basically just a wrapper for two PlotCoordinates: an upper left coordinate and a lower right coordinate. More...
#include <PlotOptions.h>
Public Member Functions | |
PlotRegion () | |
Default constructor. More... | |
PlotRegion (const PlotCoordinate &upperLeft, const PlotCoordinate &lowerRight) | |
Parameterized constructor. More... | |
PlotRegion (const PlotRegion ©) | |
Copy constructor. More... | |
~PlotRegion () | |
Destructor. More... | |
const PlotCoordinate & | upperLeft () const |
Returns the upper left coordinate. More... | |
const PlotCoordinate & | lowerRight () const |
Returns the lower right coordinate. More... | |
double | top () const |
Returns the top y value. More... | |
double | bottom () const |
Returns the bottom y value. More... | |
double | left () const |
Returns the left x value. More... | |
double | right () const |
Returns the right x value. More... | |
bool | isValid () const |
Returns true if the region is valid, false otherwise. More... | |
Private Attributes | |
PlotCoordinate | m_upperLeft |
Upper-left coordinate. More... | |
PlotCoordinate | m_lowerRight |
Lower-right coordinate. More... | |
A PlotRegion is basically just a wrapper for two PlotCoordinates: an upper left coordinate and a lower right coordinate.
Definition at line 682 of file PlotOptions.h.
casa::PlotRegion::PlotRegion | ( | ) |
Default constructor.
casa::PlotRegion::PlotRegion | ( | const PlotCoordinate & | upperLeft, |
const PlotCoordinate & | lowerRight | ||
) |
Parameterized constructor.
casa::PlotRegion::PlotRegion | ( | const PlotRegion & | copy | ) |
Copy constructor.
casa::PlotRegion::~PlotRegion | ( | ) |
Destructor.
double casa::PlotRegion::bottom | ( | ) | const |
Returns the bottom y value.
bool casa::PlotRegion::isValid | ( | ) | const |
Returns true if the region is valid, false otherwise.
double casa::PlotRegion::left | ( | ) | const |
Returns the left x value.
const PlotCoordinate& casa::PlotRegion::lowerRight | ( | ) | const |
Returns the lower right coordinate.
double casa::PlotRegion::right | ( | ) | const |
Returns the right x value.
double casa::PlotRegion::top | ( | ) | const |
Returns the top y value.
const PlotCoordinate& casa::PlotRegion::upperLeft | ( | ) | const |
Returns the upper left coordinate.
|
private |
Lower-right coordinate.
Definition at line 724 of file PlotOptions.h.
|
private |
Upper-left coordinate.
Definition at line 721 of file PlotOptions.h.