Inheritance diagram for Eaagles::Basic::Locus:


Public Member Functions | |
| Locus () | |
| Locus (const LCreal *const data, const int n, const double lat, const double lon, const LCreal direction, const LCreal minRng, const LCreal maxRng) | |
| bool | isDataValid () const |
| LCreal | getData (const unsigned int idx) const |
| LCreal | getRange (const unsigned int idx) const |
| unsigned int | getNumPts () const |
| double | getRefLatitude () const |
| double | getRefLongitude () const |
| LCreal | getDirection () const |
| LCreal | getMinRng () const |
| LCreal | getMaxRng () const |
| LCreal | getDeltaRange () const |
| const LCreal * | getDataArray () const |
| virtual void | setData (const LCreal *const data, const int n, const double lat, const double lon, const LCreal minRng, const LCreal maxRng) |
| virtual void | clearData () |
Static Public Attributes | |
| static const unsigned int | MAX_SIZE = 2048 |
Private Attributes | |
| double | refLat |
| double | refLon |
| LCreal * | data |
| LCreal | angle |
| LCreal | minRng |
| LCreal | maxRng |
| LCreal | deltaRng |
| unsigned int | np |
A line of evenly spaced data points in a specific direction and
range from a reference point. Or according to Webster, "Set of
all points whose location is determined by stated conditions"
| Eaagles::Basic::Locus::Locus | ( | ) |
| Eaagles::Basic::Locus::Locus | ( | const LCreal *const | data, | |
| const int | n, | |||
| const double | lat, | |||
| const double | lon, | |||
| const LCreal | direction, | |||
| const LCreal | minRng, | |||
| const LCreal | maxRng | |||
| ) |
data - Array of data points; n - Number of data points lat - Reference latitude (degs); lon - Reference longitude (degs) direction - True direction (heading) angle of the data (degs) minRng - Range to first data point (meters) maxRng - Range to last data point (meters)
| bool Eaagles::Basic::Locus::isDataValid | ( | ) | const [inline] |
True if we have a valid data array.
| LCreal Eaagles::Basic::Locus::getData | ( | const unsigned int | idx | ) | const |
The idx'th data point, [ idx: 0 ... (getNumPts()-1) ].
| LCreal Eaagles::Basic::Locus::getRange | ( | const unsigned int | idx | ) | const |
The range to the idx'th point (meters), [ idx: 0 ... (getNumPts()-1) ].
| unsigned int Eaagles::Basic::Locus::getNumPts | ( | ) | const [inline] |
Number of data points.
| double Eaagles::Basic::Locus::getRefLatitude | ( | ) | const [inline] |
Reference latitude (degs).
| double Eaagles::Basic::Locus::getRefLongitude | ( | ) | const [inline] |
Reference longitude (degs).
| LCreal Eaagles::Basic::Locus::getDirection | ( | ) | const [inline] |
The 'true heading' angle of the data array (degs).
| LCreal Eaagles::Basic::Locus::getMinRng | ( | ) | const [inline] |
Range to the first data point (meters).
| LCreal Eaagles::Basic::Locus::getMaxRng | ( | ) | const [inline] |
Range to the last data point (meters).
| LCreal Eaagles::Basic::Locus::getDeltaRange | ( | ) | const [inline] |
Distance between the data points (meters).
| const LCreal* Eaagles::Basic::Locus::getDataArray | ( | ) | const [inline] |
The array of data points.
| virtual void Eaagles::Basic::Locus::setData | ( | const LCreal *const | data, | |
| const int | n, | |||
| const double | lat, | |||
| const double | lon, | |||
| const LCreal | minRng, | |||
| const LCreal | maxRng | |||
| ) | [virtual] |
Sets the data array and its stated conditions data - Array of data points; n - Number of points in the data array lat - Reference latitude (degs); lon - Reference longitude (degs) direction - True direction (heading) angle of the data (degs) minRng - Range to first data point (meters) maxRng - Range to last data point (meters)
| void Eaagles::Basic::Locus::clearData | ( | ) | [virtual] |
Clears the data array.
const unsigned int Eaagles::Basic::Locus::MAX_SIZE = 2048 [static] |
Max size of the data array.
double Eaagles::Basic::Locus::refLat [private] |
Reference latitude (degs).
double Eaagles::Basic::Locus::refLon [private] |
Reference longitude (degs).
LCreal* Eaagles::Basic::Locus::data [private] |
Data array.
LCreal Eaagles::Basic::Locus::angle [private] |
True direction (heading) angle of the data (degs).
LCreal Eaagles::Basic::Locus::minRng [private] |
Range to first data point (meters).
LCreal Eaagles::Basic::Locus::maxRng [private] |
Range to last data point (meters).
LCreal Eaagles::Basic::Locus::deltaRng [private] |
Range between data points (meters).
unsigned int Eaagles::Basic::Locus::np [private] |
Number of data points.
1.5.0