Kstars

lambertprojector.h
1/*
2 SPDX-FileCopyrightText: 2010 Henry de Valence <hdevalence@gmail.com>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#ifndef LAMBERTPROJECTOR_H
8#define LAMBERTPROJECTOR_H
9
10#include "projector.h"
11
12/**
13 * @class LambertProjector
14 *
15 * Implememntation of <a href="https://en.wikipedia.org/wiki/Lambert_azimuthal_equal-area_projection">Lambert azimuthal equal-area projection</a>
16 *
17 */
19{
20 public:
21 explicit LambertProjector(const ViewParams &p);
22 ~LambertProjector() override = default;
23 Projection type() const override;
24 double radius() const override;
25 double projectionK(double x) const override;
26 double projectionL(double x) const override;
27};
28
29#endif // LAMBERTPROJECTOR_H
Implememntation of Lambert azimuthal equal-area projection
double projectionK(double x) const override
This function handles some of the projection-specific code.
double radius() const override
Get the radius of this projection's sky circle.
Projection type() const override
Return the type of this projection.
double projectionL(double x) const override
This function handles some of the projection-specific code.
The Projector class is the primary class that serves as an interface to handle projections.
Definition projector.h:58
This is just a container that holds information needed to do projections.
Definition projector.h:37
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 11 2024 12:15:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.