ArtificialHorizon
ArtificialHorizon Class Reference
#include <artificialhorizoncomponent.h>
Public Member Functions | |
void | addRegion (const QString ®ionName, bool enabled, const std::shared_ptr< LineList > &list, bool ceiling) |
double | altitudeConstraint (double azimuthDegrees) const |
bool | altitudeConstraintsExist () const |
void | drawPolygons (SkyPainter *painter, QList< LineList > *regions=nullptr) |
bool | enabled (int i) const |
ArtificialHorizonEntity * | findRegion (const QString ®ionName) |
const ArtificialHorizonEntity * | getConstraintAbove (double azimuthDegrees, double altitudeDegrees, const ArtificialHorizonEntity *ignore=nullptr) const |
const ArtificialHorizonEntity * | getConstraintBelow (double azimuthDegrees, double altitudeDegrees, const ArtificialHorizonEntity *ignore=nullptr) const |
const QList< ArtificialHorizonEntity * > * | horizonList () const |
bool | isAltitudeOK (double azimuthDegrees, double altitudeDegrees, QString *reason) const |
bool | isVisible (double azimuthDegrees, double altitudeDegrees, QString *reason=nullptr) const |
void | load (const QList< ArtificialHorizonEntity * > &list) |
void | removeRegion (const QString ®ionName, bool lineOnly=false) |
Detailed Description
Represents custom area from the horizon upwards which represent blocked views from the vantage point of the user. Such blocked views could stem for example from tall trees or buildings. The user can define a series of line segments to represent the blocked areas.
- Version
- 0.1
Definition at line 61 of file artificialhorizoncomponent.h.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Dec 3 2023 04:06:21 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Dec 3 2023 04:06:21 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.