Peano
Loading...
Searching...
No Matches
WrapperC.cpp
Go to the documentation of this file.
3
4extern "C" {
5struct Pair {
6 double first;
7 double second;
8};
9
10Pair ellipsoidTransform(const double lon, const double lat) {
11 Pair p{};
13 p.first = x;
14 p.second = y;
15 return p;
16}
17
18Pair ellipsoidTransformInverse(const double x, const double y) {
19 Pair p{};
21 p.first = lon;
22 p.second = lat;
23 return p;
24}
25
26Pair sphereTransform(const double lon, const double lat) {
27 Pair p{};
29 p.first = x;
30 p.second = y;
31 return p;
32}
33
34Pair sphereTransformInverse(const double x, const double y) {
35 Pair p{};
37 p.first = lon;
38 p.second = lat;
39 return p;
40}
41}
Pair ellipsoidTransform(const double lon, const double lat)
Definition WrapperC.cpp:10
Pair sphereTransformInverse(const double x, const double y)
Definition WrapperC.cpp:34
Pair ellipsoidTransformInverse(const double x, const double y)
Definition WrapperC.cpp:18
Pair sphereTransform(const double lon, const double lat)
Definition WrapperC.cpp:26
auto inverse(const auto x, const auto y)
Inverts the Albers Equal-Area Conic projection for WGS_1984 and returns the geographic coordinates (l...
auto forward(const auto lon, const auto lat)
auto forward(const auto lon, const auto lat)
Projects geographic coordinates (longitude, latitude) onto a planar surface using the Albers Equal-Ar...
auto inverse(const auto x, const auto y)
Inverts the spherical Albers Equal-Area Conic projection and returns the geographic coordinates (long...
double second
Definition WrapperC.cpp:7
double first
Definition WrapperC.cpp:6