kstars
#include <skyline.h>
Public Member Functions | |
SkyLine () | |
~SkyLine () | |
dms | angularSize (int i=0) const |
void | append (SkyPoint *p) |
void | clear () |
SkyPoint * | point (int i) const |
QList< SkyPoint * > & | points () |
void | setPoint (int i, SkyPoint *p) |
void | update (KStarsData *data, KSNumbers *num=0) |
Detailed Description
A series of connected line segments in the sky, composed of SkyPoints at its vertices.
SkyLines are used for constellation lines and boundaries, the coordinate grid, and the equator, ecliptic and horizon.
Constructor & Destructor Documentation
SkyLine::SkyLine | ( | ) |
Default Constructor (empty).
Definition at line 22 of file skyline.cpp.
SkyLine::~SkyLine | ( | ) |
Destructor.
Definition at line 25 of file skyline.cpp.
Member Function Documentation
dms SkyLine::angularSize | ( | int | i = 0 | ) | const |
- Returns
- the angle subtended by any line segment along the SkyLine.
- Parameters
-
i the index of the line segment to be measured. If no argument is given, the first segment is assumed.
Definition at line 46 of file skyline.cpp.
void SkyLine::append | ( | SkyPoint * | p | ) |
Append a segment to the list by adding a new endpoint.
- Parameters
-
p the new endpoint to be added
Definition at line 34 of file skyline.cpp.
void SkyLine::clear | ( | ) |
Remove all points from list.
Definition at line 29 of file skyline.cpp.
|
inline |
void SkyLine::setPoint | ( | int | i, |
SkyPoint * | p | ||
) |
Set point i in the SkyLine.
- Parameters
-
i the index position of the point to modify p1 the new SkyPoint
Definition at line 38 of file skyline.cpp.
void SkyLine::update | ( | KStarsData * | data, |
KSNumbers * | num = 0 |
||
) |
Definition at line 71 of file skyline.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:23 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.