KSPlanet::OrbitDataManager
KSPlanet::OrbitDataManager Class Reference
#include <ksplanet.h>
Public Member Functions | |
OrbitDataManager () | |
bool | loadData (OrbitDataColl &odc, const QString &n) |
Detailed Description
OrbitDataManager places the OrbitDataColl objects for all planets in a QDict indexed by the planets' names.
It also loads the positional data of each planet from disk.
- Version
- 1.0
Definition at line 139 of file ksplanet.h.
Constructor & Destructor Documentation
◆ OrbitDataManager()
KSPlanet::OrbitDataManager::OrbitDataManager | ( | ) |
Constructor.
Definition at line 23 of file ksplanet.cpp.
Member Function Documentation
◆ loadData()
bool KSPlanet::OrbitDataManager::loadData | ( | KSPlanet::OrbitDataColl & | odc, |
const QString & | n ) |
Load orbital data for a planet from disk.
The data is stored on disk in a series of files named "name.[LBR][0...5].vsop", where "L"=Longitude data, "B"=Latitude data, and R=Radius data.
- Parameters
-
n the name of the planet whose data is to be loaded from disk. odc reference to the OrbitDataColl containing the planet's orbital data.
- Returns
- true if data successfully loaded
Definition at line 56 of file ksplanet.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 Nov 29 2024 11:57:49 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:57:49 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.