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

kstars

Public Member Functions | List of all members
SkyLine Class Reference

#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.

Note
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 38 of file skyline.h.

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
ithe 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
pthe 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.

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

Definition at line 54 of file skyline.h.

QList<SkyPoint*>& SkyLine::points ( )
inline

Definition at line 56 of file skyline.h.

void SkyLine::setPoint ( int  i,
SkyPoint *  p 
)

Set point i in the SkyLine.

Parameters
ithe index position of the point to modify
p1the 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:
  • skyline.h
  • skyline.cpp
This file is part of the KDE documentation.
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.

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