GreatCircle

Search for usage in LXR

GreatCircle Class Reference

#include <greatcircle.h>

Public Member Functions

 GreatCircle (double az1, double alt1, double az2, double alt2)
 
void waypoint (double fraction, double *az, double *alt)
 

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

◆ waypoint()

void GreatCircle::waypoint ( double fraction,
double * az,
double * alt )

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 77 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 Tue Mar 26 2024 11:19:04 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.