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 AZIMUTHALEQUIDISTANTPROJECTOR_H
0008 #define AZIMUTHALEQUIDISTANTPROJECTOR_H
0009 
0010 #include "projector.h"
0011 
0012 /**
0013  * @class AzimuthalEquidistantProjector
0014  *
0015  * Implememntation of <a href="https://en.wikipedia.org/wiki/Azimuthal_equidistant_projection">Azimuthal equidistant projection</a>
0016  *
0017  */
0018 class AzimuthalEquidistantProjector : public Projector
0019 {
0020   public:
0021     explicit AzimuthalEquidistantProjector(const ViewParams &p);
0022     Projection type() const override;
0023     double radius() const override;
0024     double projectionK(double x) const override;
0025     double projectionL(double x) const override;
0026 };
0027 
0028 #endif // AZIMUTHALEQUIDISTANTPROJECTOR_H