• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kstars

Signals | Public Member Functions | List of all members
KSConjunct Class Reference

#include <ksconjunct.h>

Inheritance diagram for KSConjunct:
Inheritance graph
[legend]

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.

Author
Akarsh Simha
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.

KSConjunct::~KSConjunct ( )
inline

Destructor.

(Empty)

Definition at line 61 of file ksconjunct.h.

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
Object1A copy of the class corresponding to one of the two bodies
Object2A copy of the class corresponding to the other of the two bodies
startJDJulian Day corresponding to start of the calculation period
stopJDJulian Day corresponding to end of the calculation period
maxSeparationMaximum separation between Object1 and Object2 - a measure how close the conjunction should be to be output.
oppositionA 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.

void KSConjunct::madeProgress ( int  progress)
signal
void KSConjunct::setGeoLocation ( GeoLocation *  geo)

Sets the geographic location to compute conjunctions at.

Parameters
geoPointer to the GeoLocation object

Definition at line 33 of file ksconjunct.cpp.


The documentation for this class was generated from the following files:
  • ksconjunct.h
  • ksconjunct.cpp
This file is part of the KDE documentation.
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.

kstars

Skip menu "kstars"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal