File indexing completed on 2024-07-14 07:17:17

0001 /*
0002     SPDX-FileCopyrightText: 2010 Henry de Valence <hdevalence@gmail.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef LAMBERTPROJECTOR_H
0008 #define LAMBERTPROJECTOR_H
0009 
0010 #include "projector.h"
0011 
0012 /**
0013  * @class LambertProjector
0014  *
0015  * Implememntation of <a href="https://en.wikipedia.org/wiki/Lambert_azimuthal_equal-area_projection">Lambert azimuthal equal-area projection</a>
0016  *
0017  */
0018 class LambertProjector : public Projector
0019 {
0020   public:
0021     explicit LambertProjector(const ViewParams &p);
0022     ~LambertProjector() override = default;
0023     Projection type() const override;
0024     double radius() const override;
0025     double projectionK(double x) const override;
0026     double projectionL(double x) const override;
0027 };
0028 
0029 #endif // LAMBERTPROJECTOR_H