Loading...
Searching...
No Matches
Evaluate a back-and-forth route at elapsed time.
More...
#include <route.h>
|
| | Route (const Config &config) |
| | Construct a route and cache its great-circle endpoint distance.
|
| double | length () const |
| | Return route length in metres.
|
| double | legSeconds () const |
| | Return one-way travel duration at the configured speed.
|
| Point | at (double seconds) const |
| | Return the interpolated endpoint-to-endpoint route position.
|
| double | aglAt (const Point &point) const |
| | Interpolate route AGL from distance along the endpoint segment.
|
Evaluate a back-and-forth route at elapsed time.
Geographic interpolation uses the shortest longitude delta; it does not model aircraft dynamics or establish that a real aircraft flew the path.
Definition at line 452 of file route.h.
◆ Route()
| pangea_survey::Route::Route |
( |
const Config & | config | ) |
|
|
inlineexplicit |
Construct a route and cache its great-circle endpoint distance.
Definition at line 457 of file route.h.
◆ aglAt()
| double pangea_survey::Route::aglAt |
( |
const Point & | point | ) |
const |
|
inline |
Interpolate route AGL from distance along the endpoint segment.
Definition at line 480 of file route.h.
◆ at()
| Point pangea_survey::Route::at |
( |
double | seconds | ) |
const |
|
inline |
Return the interpolated endpoint-to-endpoint route position.
- Parameters
-
| [in] | seconds | Nonnegative elapsed seconds; every second leg reverses direction. |
- Returns
- Geographic position and interpolated AGL.
- Exceptions
-
| std::runtime_error | If elapsed time is negative or nonfinite. |
Definition at line 468 of file route.h.
◆ legSeconds()
| double pangea_survey::Route::legSeconds |
( |
| ) |
const |
|
inline |
Return one-way travel duration at the configured speed.
Definition at line 461 of file route.h.
◆ length()
| double pangea_survey::Route::length |
( |
| ) |
const |
|
inline |
Return route length in metres.
Definition at line 459 of file route.h.
◆ config_
| Config pangea_survey::Route::config_ |
|
private |
◆ length_
| double pangea_survey::Route::length_ |
|
private |
The documentation for this class was generated from the following file: