kstars
#include <ksconjunct.h>

Signals | |
void | madeProgress (int progress) |
Public Member Functions | |
KSConjunct () | |
~KSConjunct () | |
QMap< long double, dms > | findClosestApproach (SkyObject &Object1, KSPlanetBase &Object2, long double startJD, long double stopJD, dms maxSeparation, bool _opposition=false) |
void | setGeoLocation (GeoLocation *geo) |
Detailed Description
A class that implements a method to compute close conjunctions between any two solar system objects excluding planetary moons.
Given two such objects, this class has implementations of algorithms required to find the time of closest approach in a given range of time. Implements algorithms to find close conjunctions of planets in a given time range.
- Version
- 1.0
Definition at line 47 of file ksconjunct.h.
Constructor & Destructor Documentation
KSConjunct::KSConjunct | ( | ) |
Constructor.
Instantiates a KSNumbers for internal computations.
Definition at line 29 of file ksconjunct.cpp.
|
inline |
Member Function Documentation
QMap< long double, dms > KSConjunct::findClosestApproach | ( | SkyObject & | Object1, |
KSPlanetBase & | Object2, | ||
long double | startJD, | ||
long double | stopJD, | ||
dms | maxSeparation, | ||
bool | _opposition = false |
||
) |
Compute the closest approach of two planets in the given range.
- Parameters
-
Object1 A copy of the class corresponding to one of the two bodies Object2 A copy of the class corresponding to the other of the two bodies startJD Julian Day corresponding to start of the calculation period stopJD Julian Day corresponding to end of the calculation period maxSeparation Maximum separation between Object1 and Object2 - a measure how close the conjunction should be to be output. opposition A parameter to see if we are computing conjunction or opposition
- Returns
- Hash containing julian days of close conjunctions against separation
Definition at line 40 of file ksconjunct.cpp.
|
signal |
void KSConjunct::setGeoLocation | ( | GeoLocation * | geo | ) |
Sets the geographic location to compute conjunctions at.
- Parameters
-
geo Pointer to the GeoLocation object
Definition at line 33 of file ksconjunct.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:22 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.