LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
|
#include <Bounds.h>
Public Member Functions | |
Bounds (double x1, double x2, double y1, double y2) | |
Bounds (const Position &pos) | |
Bounds () | |
~Bounds () | |
void | setXMin (double x) |
void | setXMax (double x) |
void | setYMin (double y) |
void | setYMax (double y) |
double | getXMin () const |
double | getXMax () const |
double | getYMin () const |
double | getYMax () const |
bool | isDefined () const |
Position | getCenter () const |
void | operator+= (const Position &pos) |
void | operator+= (const Bounds &rec) |
bool | operator== (const Bounds &rhs) const |
void | snap (double d) |
void | addBorder (double d) |
void | addXBorder (double d) |
void | addYBorder (double d) |
Bounds | operator& (const Bounds &rhs) const |
bool | includes (const Position &pos) const |
bool | includes (double x, double y) const |
bool | includes (const Bounds &b2) const |
bool | intersects (const Bounds &b2) const |
double | getArea () const |
std::vector< Bounds > | quarter () const |
std::vector< Bounds > | divide (int nx, int ny) const |
void | write (std::ostream &fout) const |
void | read (std::istream &fin) |
Position | get00 () const |
Position | get01 () const |
Position | get10 () const |
Position | get11 () const |
bool | isWide () const |
bool | isTall () const |
Private Attributes | |
bool | _isDefined |
double | _xMin |
double | _xMax |
double | _yMin |
double | _yMax |
|
inline |
|
inline |
|
inline |
|
inline |
void lsst::meas::algorithms::shapelet::Bounds::addBorder | ( | double | d | ) |
void lsst::meas::algorithms::shapelet::Bounds::addXBorder | ( | double | d | ) |
void lsst::meas::algorithms::shapelet::Bounds::addYBorder | ( | double | d | ) |
std::vector< Bounds > lsst::meas::algorithms::shapelet::Bounds::divide | ( | int | nx, |
int | ny | ||
) | const |
|
inline |
|
inline |
|
inline |
|
inline |
double lsst::meas::algorithms::shapelet::Bounds::getArea | ( | ) | const |
Position lsst::meas::algorithms::shapelet::Bounds::getCenter | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
bool lsst::meas::algorithms::shapelet::Bounds::includes | ( | const Position & | pos | ) | const |
bool lsst::meas::algorithms::shapelet::Bounds::includes | ( | double | x, |
double | y | ||
) | const |
Definition at line 124 of file Bounds.cc.
bool lsst::meas::algorithms::shapelet::Bounds::includes | ( | const Bounds & | b2 | ) | const |
bool lsst::meas::algorithms::shapelet::Bounds::intersects | ( | const Bounds & | b2 | ) | const |
|
inline |
|
inline |
|
inline |
void lsst::meas::algorithms::shapelet::Bounds::operator+= | ( | const Position & | pos | ) |
void lsst::meas::algorithms::shapelet::Bounds::operator+= | ( | const Bounds & | rec | ) |
bool lsst::meas::algorithms::shapelet::Bounds::operator== | ( | const Bounds & | rhs | ) | const |
std::vector< Bounds > lsst::meas::algorithms::shapelet::Bounds::quarter | ( | ) | const |
Definition at line 149 of file Bounds.cc.
void lsst::meas::algorithms::shapelet::Bounds::read | ( | std::istream & | fin | ) |
|
inline |
|
inline |
|
inline |
|
inline |
void lsst::meas::algorithms::shapelet::Bounds::snap | ( | double | d | ) |
void lsst::meas::algorithms::shapelet::Bounds::write | ( | std::ostream & | fout | ) | const |
|
private |
|
private |
|
private |
|
private |
|
private |