Changeset View
Changeset View
Standalone View
Standalone View
kstars/projections/equirectangularprojector.h
Context not available. | |||||
17 | 17 | | |||
---|---|---|---|---|---|
18 | */ | 18 | */ | ||
19 | 19 | | |||
20 | #ifndef EQUIRECTANGULARPROJECTOR_H | 20 | #pragma once | ||
21 | #define EQUIRECTANGULARPROJECTOR_H | | |||
22 | 21 | | |||
23 | #include "projector.h" | 22 | #include "projector.h" | ||
24 | 23 | | |||
Context not available. | |||||
32 | { | 31 | { | ||
33 | public: | 32 | public: | ||
34 | explicit EquirectangularProjector(const ViewParams &p); | 33 | explicit EquirectangularProjector(const ViewParams &p); | ||
34 | | ||||
35 | Projection type() const override; | 35 | Projection type() const override; | ||
36 | double radius() const override; | 36 | double radius() const override; | ||
37 | bool unusablePoint(const QPointF &p) const override; | 37 | bool unusablePoint(const QPointF &p) const override; | ||
Context not available. | |||||
40 | QVector<Vector2f> groundPoly(SkyPoint *labelpoint = nullptr, bool *drawLabel = nullptr) const override; | 40 | QVector<Vector2f> groundPoly(SkyPoint *labelpoint = nullptr, bool *drawLabel = nullptr) const override; | ||
41 | void updateClipPoly() override; | 41 | void updateClipPoly() override; | ||
42 | }; | 42 | }; | ||
43 | | ||||
44 | #endif // EQUIRECTANGULARPROJECTOR_H | | |||
Context not available. |