#include <Object.h>
Public Member Functions | |
Object (double ra, double dec) | |
virtual | ~Object () |
virtual double | getRa () const |
virtual double | getDec () const |
virtual double | getSD () const |
virtual double | getOrthoSD () const |
virtual double | getDecSD () const |
virtual void | print (std::ostream &os) const |
double | gcDistance (Object const &other) const |
float | gcDistanceMins (Object const &other) const |
bool | isSmallSeparation (Object const &other) const |
Static Public Member Functions | |
static double | computeDistanceBound (double redSD, double blueSD) |
static double | computeRACorrection (double radius, double dec) |
Static Public Attributes | |
static double | zAlpha = 1.0 |
Private Member Functions | |
Object () | |
Object (Object const &other) | |
Object & | operator= (Object const &) |
double | haversineDistance (Object const &other) const |
Private Attributes | |
double | ra |
double | dec |
Definition at line 32 of file Object.h.
Object::Object | ( | double | ra, | |
double | dec | |||
) |
Definition at line 15 of file Object.cpp.
Object::Object | ( | ) | [private] |
Object::Object | ( | Object const & | other | ) | [private] |
double Object::computeDistanceBound | ( | double | redSD, | |
double | blueSD | |||
) | [static] |
Definition at line 26 of file Object.cpp.
References zAlpha.
Referenced by CrossMatch::getLowerBound(), CrossMatch::getUpperBound(), isSmallSeparation(), BoundingBoxRefine::refine(), and CrossMatch::setAngularUpperLimit().
double Object::computeRACorrection | ( | double | radius, | |
double | dec | |||
) | [static] |
Definition at line 32 of file Object.cpp.
References Constants::asinDeg(), Constants::cosDeg(), and Constants::sinDeg().
Referenced by BoundingBoxRefine::refine(), SimpleActiveList::testObject(), and IndexedActiveList::testObject().
double Object::gcDistance | ( | Object const & | other | ) | const |
Definition at line 40 of file Object.cpp.
References getDec(), getRa(), and haversineDistance().
Referenced by gcDistanceMins(), and WithinDistanceRefine::refine().
float Object::gcDistanceMins | ( | Object const & | other | ) | const [inline] |
Definition at line 46 of file Object.h.
References gcDistance(), and Constants::s_minutes.
Referenced by NeighboursTextFileWriter::write(), and CrossNeighboursTextFileWriter::write().
virtual double Object::getDec | ( | ) | const [inline, virtual] |
Definition at line 39 of file Object.h.
Referenced by SimpleActiveList::deletePriorObjects(), IndexedActiveList::deletePriorObjects(), CrossMatch::doFilter(), DecPlaneSweepFilter::filter(), gcDistance(), Neighbours::getLowerBound(), FixedRadiusCrossMatch::getLowerBound(), CrossMatch::getLowerBound(), Neighbours::getUpperBound(), FixedRadiusCrossMatch::getUpperBound(), CrossMatch::getUpperBound(), haversineDistance(), isSmallSeparation(), main(), print(), CrossMatch::raceThroughProducer(), SplitMergePairFileReader::read(), BoundingBoxRefine::refine(), SimpleActiveList::testObject(), IndexedActiveList::testObject(), and TextFileDatumWriter::write().
virtual double Object::getDecSD | ( | ) | const [inline, virtual] |
Reimplemented in Datum.
Definition at line 42 of file Object.h.
Referenced by print(), and ObjectProducer::scanForMaxSDs().
virtual double Object::getOrthoSD | ( | ) | const [inline, virtual] |
Reimplemented in Datum.
Definition at line 41 of file Object.h.
Referenced by print(), and ObjectProducer::scanForMaxSDs().
virtual double Object::getRa | ( | ) | const [inline, virtual] |
Definition at line 38 of file Object.h.
Referenced by ALStructure::findLowerBound(), ALStructure::findNode(), gcDistance(), haversineDistance(), isSmallSeparation(), print(), BoundingBoxRefine::refine(), SimpleActiveList::testObject(), IndexedActiveList::testObject(), and TextFileDatumWriter::write().
virtual double Object::getSD | ( | ) | const [inline, virtual] |
Reimplemented in Datum.
Definition at line 40 of file Object.h.
Referenced by CrossMatch::getUpperBound(), isSmallSeparation(), main(), print(), BoundingBoxRefine::refine(), and CrossMatch::setAngularUpperLimit().
double Object::haversineDistance | ( | Object const & | other | ) | const [private] |
Definition at line 56 of file Object.cpp.
References Constants::asinDeg(), Constants::cosDeg(), getDec(), getRa(), and Constants::sinDeg().
Referenced by gcDistance(), and isSmallSeparation().
bool Object::isSmallSeparation | ( | Object const & | other | ) | const |
Definition at line 91 of file Object.cpp.
References computeDistanceBound(), getDec(), getRa(), getSD(), and haversineDistance().
Referenced by AngularSeparationRefine::refine().
void Object::print | ( | std::ostream & | os | ) | const [virtual] |
Reimplemented in Datum.
Definition at line 20 of file Object.cpp.
References getDec(), getDecSD(), getOrthoSD(), getRa(), and getSD().
Referenced by operator<<().
double Object::dec [private] |
Definition at line 61 of file Object.h.
Referenced by WSATextFileReader::read(), WSABinaryFileReader::read(), TextFileDatumReader::read(), JPTextFileReader::read(), and BinaryFileDatumReader::read().
double Object::ra [private] |
Definition at line 60 of file Object.h.
Referenced by WSATextFileReader::read(), WSABinaryFileReader::read(), TextFileDatumReader::read(), JPTextFileReader::read(), and BinaryFileDatumReader::read().
double Object::zAlpha = 1.0 [static] |
Definition at line 54 of file Object.h.
Referenced by computeDistanceBound(), and main().