SatDump 2.0.0-alpha-76a915210
Loading...
Searching...
No Matches
timestamp_line_gcps.h
1#pragma once
2
4
5namespace satdump
6{
7 namespace projection
8 {
9 class TimestampLineGCPsRaytracer : public SatelliteRaytracer
10 {
11 private:
12 std::vector<double> timestamps;
13
14 struct GCP
15 {
16 int x;
17 int y;
18 double lat;
19 double lon;
20 };
21 struct GCPLine
22 {
23 std::vector<GCP> g;
24 double clat;
25 double clon;
26 };
27 std::vector<GCPLine> gcps;
28
29 public:
30 TimestampLineGCPsRaytracer(nlohmann::json cfg);
31 bool get_position(double x, double y, geodetic::geodetic_coords_t &pos, double *otime);
32 };
33 } // namespace projection
34} // namespace satdump
bool get_position(double x, double y, geodetic::geodetic_coords_t &pos, double *otime)
Get geodetic position of a pixel (can be fractional)
Definition timestamp_line_gcps.cpp:117