GreatCircle
GreatCircle Class Reference
#include <greatcircle.h>
Public Member Functions | |
GreatCircle (double az1, double alt1, double az2, double alt2) | |
double | altAtAz (double azDegrees) const |
void | waypoint (double fraction, double *az, double *alt) const |
Detailed Description
A class to compute points along a great circle from one az/alt to another.
- Version
- 1.0
Definition at line 27 of file greatcircle.h.
Constructor & Destructor Documentation
◆ GreatCircle()
GreatCircle::GreatCircle | ( | double | az1, |
double | alt1, | ||
double | az2, | ||
double | alt2 ) |
Construct a GreatCircle object for a path between az1,alt1 to az2,alt2.
- Parameters
-
az1 starting azimuth value (degrees). alt1 starting altitude value (degrees). az2 ending azimuth value (degrees). alt2 ending altitude value (degrees).
Definition at line 37 of file greatcircle.cpp.
Member Function Documentation
◆ altAtAz()
double GreatCircle::altAtAz | ( | double | azDegrees | ) | const |
Definition at line 90 of file greatcircle.cpp.
◆ waypoint()
void GreatCircle::waypoint | ( | double | fraction, |
double * | az, | ||
double * | alt ) const |
Return the azimuth and altitude for a waypoint.
- Parameters
-
fraction the desired fraction of the total path az the returned azimuth value (degrees) alt the returned altitude value (degrees)
Definition at line 75 of file greatcircle.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.