Kstars

gnomonicprojector.h
1 /*
2  SPDX-FileCopyrightText: 2010 Henry de Valence <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #ifndef GNOMONICPROJECTOR_H
8 #define GNOMONICPROJECTOR_H
9 
10 #include "projector.h"
11 
12 /**
13  * @class GnomonicProjector
14  *
15  * Implememntation of <a href="https://en.wikipedia.org/wiki/Gnomonic_projection">Gnomonic projection</a>
16  *
17  */
19 {
20  public:
21  explicit GnomonicProjector(const ViewParams &p);
22  Projection type() const override;
23  double radius() const override;
24  double projectionK(double x) const override;
25  double projectionL(double x) const override;
26  double cosMaxFieldAngle() const override;
27 };
28 
29 #endif // GNOMONICPROJECTOR_H
Projection type() const override
Return the type of this projection.
double radius() const override
Get the radius of this projection's sky circle.
double projectionK(double x) const override
This function handles some of the projection-specific code.
double cosMaxFieldAngle() const override
This function returns the cosine of the maximum field angle, i.e., the maximum angular distance from ...
double projectionL(double x) const override
This function handles some of the projection-specific code.
This is just a container that holds information needed to do projections.
Definition: projector.h:36
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sat Aug 13 2022 04:01:53 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.