GreatCircle

Search for usage in LXR

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.

Author
Hy Murveit
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
az1starting azimuth value (degrees).
alt1starting altitude value (degrees).
az2ending azimuth value (degrees).
alt2ending 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
fractionthe desired fraction of the total path
azthe returned azimuth value (degrees)
altthe 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 Fri Dec 20 2024 11:53:01 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.