|
CARMA C++
|
Data on nearest neighbor to a source. More...
#include <carma/services/Neighbor.h>
Public Member Functions | |
| float | getAzimuth () const |
| float | getBrightness () const |
| float | getDistance () const |
| float | getElevation () const |
| double | getMJD () const |
| const ::std::string | getName () const |
| const ::std::string | getReference () const |
| bool | isOptical () const |
| Neighbor () | |
| Default constructor. More... | |
| bool | operator< (const Neighbor &neighbor) const |
| Compares distance member values. More... | |
| bool | operator== (const Neighbor &neighbor) |
| Compare two Neighbors. More... | |
| void | setAzimuth (const float azimuth) |
| void | setBrightness (const float brightness) |
| void | setDistance (const float distance) |
| void | setElevation (const float elevation) |
| void | setMJD (const double mjd) |
| void | setName (::std::string name) |
| void | setOptical (const bool optical) |
| void | setReference (::std::string reference) |
| virtual | ~Neighbor () |
| Destructor. More... | |
Data on nearest neighbor to a source.
Mirrors IDL NearestInfo struct in carma::control
Definition at line 24 of file Neighbor.h.
| carma::services::Neighbor::Neighbor | ( | ) |
Default constructor.
|
virtual |
Destructor.
| bool carma::services::Neighbor::operator< | ( | const Neighbor & | neighbor | ) | const |
Compares distance member values.
Use for sorting the NeighborSet.
| bool carma::services::Neighbor::operator== | ( | const Neighbor & | neighbor | ) |
Compare two Neighbors.