Search for usage in LXR

SkyLine Class Reference

#include <skyline.h>

Public Member Functions

dms angularSize (int i=0) const
void append (SkyPoint *p)
void clear ()
SkyPointpoint (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.

the SkyLine segments are always straight lines, they are not Great Circle segments joining the two endpoints. Therefore, line segments that need to follow great circles must be approximated with many short SkyLine segments.

Definition at line 26 of file skyline.h.

Member Function Documentation

◆ angularSize()

dms SkyLine::angularSize ( int  i = 0) const
the angle subtended by any line segment along the SkyLine.
ithe 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.

pthe 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()

SkyPoint* SkyLine::point ( int  i) const
a const pointer to a point in the SkyLine param i the index position of the point

Definition at line 44 of file skyline.h.

◆ setPoint()

void SkyLine::setPoint ( int  i,
SkyPoint p 

Set point i in the SkyLine.

ithe index position of the point to modify
pthe new SkyPoint

Definition at line 30 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-2022 The KDE developers.
Generated on Thu Aug 18 2022 03:56:49 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.