SkyLine
SkyLine Class Reference
#include <skyline.h>
Public Member Functions | |
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=nullptr) |
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::~SkyLine | ( | ) |
Definition at line 14 of file skyline.cpp.
Member Function Documentation
◆ angularSize()
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 40 of file skyline.cpp.
◆ append()
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 25 of file skyline.cpp.
◆ clear()
void SkyLine::clear | ( | ) |
Remove all points from list.
Definition at line 19 of file skyline.cpp.
◆ point()
|
inline |
◆ points()
◆ setPoint()
void SkyLine::setPoint | ( | int | i, |
SkyPoint * | p ) |
Set point i in the SkyLine.
- Parameters
-
i the index position of the point to modify p the new SkyPoint
Definition at line 30 of file skyline.cpp.
◆ update()
void SkyLine::update | ( | KStarsData * | data, |
KSNumbers * | num = nullptr ) |
Definition at line 67 of file skyline.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 Mon Nov 18 2024 12:16:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.