119#if !defined(GEODESIC_H)
126#define GEODESIC_VERSION_MAJOR 1
131#define GEODESIC_VERSION_MINOR 32
136#define GEODESIC_VERSION_PATCH 0
138#if defined(__cplusplus)
150 double f1, e2, ep2, n, b, c2, etol2;
151 double A3x[6], C3x[15], C4x[21];
166 double b, c2, f1, salp0, calp0, k2, salp1, calp1, ssig1, csig1, dn1, stau1, ctau1, somg1, comg1, A1m1, A2m1, A3c,
167 B11, B21, B31, A4, B41;
168 double C1a[6 + 1], C1pa[6 + 1], C2a[6 + 1], C3a[6], C4a[6];
279 double* plon2,
double* pazi2);
321 double* pazi1,
double* pazi2);
406 double* plat2,
double* plon2,
double* pazi2,
double* ps12,
double* pm12,
double* pM12,
407 double* pM21,
double* pS12);
438 double* pazi1,
double* pazi2,
double* pm12,
double* pM12,
double* pM21,
double* pS12);
500 double* pazi2,
double* ps12,
double* pm12,
double* pM12,
double* pM21,
double* pS12);
599 double* pA,
double* pP);
629 int reverse,
int sign,
double* pA,
double* pP);
659 int reverse,
int sign,
double* pA,
double* pP);
712#if defined(__cplusplus)
void geod_lineinit(struct geod_geodesicline *l, const struct geod_geodesic *g, double lat1, double lon1, double azi1, unsigned caps)
geod_mask
Definition geodesic.h:699
@ GEOD_AZIMUTH
Definition geodesic.h:703
@ GEOD_REDUCEDLENGTH
Definition geodesic.h:706
@ GEOD_LONGITUDE
Definition geodesic.h:702
@ GEOD_LATITUDE
Definition geodesic.h:701
@ GEOD_ALL
Definition geodesic.h:709
@ GEOD_AREA
Definition geodesic.h:708
@ GEOD_GEODESICSCALE
Definition geodesic.h:707
@ GEOD_DISTANCE
Definition geodesic.h:704
@ GEOD_DISTANCE_IN
Definition geodesic.h:705
@ GEOD_NONE
Definition geodesic.h:700
void geod_polygon_addedge(const struct geod_geodesic *g, struct geod_polygon *p, double azi, double s)
void geod_inverse(const struct geod_geodesic *g, double lat1, double lon1, double lat2, double lon2, double *ps12, double *pazi1, double *pazi2)
unsigned geod_polygon_testpoint(const struct geod_geodesic *g, const struct geod_polygon *p, double lat, double lon, int reverse, int sign, double *pA, double *pP)
double geod_gendirect(const struct geod_geodesic *g, double lat1, double lon1, double azi1, int arcmode, double s12_a12, double *plat2, double *plon2, double *pazi2, double *ps12, double *pm12, double *pM12, double *pM21, double *pS12)
void geod_polygon_init(struct geod_polygon *p, int polylinep)
unsigned geod_polygon_testedge(const struct geod_geodesic *g, const struct geod_polygon *p, double azi, double s, int reverse, int sign, double *pA, double *pP)
void geod_position(const struct geod_geodesicline *l, double s12, double *plat2, double *plon2, double *pazi2)
void geod_direct(const struct geod_geodesic *g, double lat1, double lon1, double azi1, double s12, double *plat2, double *plon2, double *pazi2)
double geod_geninverse(const struct geod_geodesic *g, double lat1, double lon1, double lat2, double lon2, double *ps12, double *pazi1, double *pazi2, double *pm12, double *pM12, double *pM21, double *pS12)
unsigned geod_polygon_compute(const struct geod_geodesic *g, const struct geod_polygon *p, int reverse, int sign, double *pA, double *pP)
double geod_genposition(const struct geod_geodesicline *l, int arcmode, double s12_a12, double *plat2, double *plon2, double *pazi2, double *ps12, double *pm12, double *pM12, double *pM21, double *pS12)
void geod_polygonarea(const struct geod_geodesic *g, double lats[], double lons[], int n, double *pA, double *pP)
void geod_init(struct geod_geodesic *g, double a, double f)
void geod_polygon_addpoint(const struct geod_geodesic *g, struct geod_polygon *p, double lat, double lon)
Definition geodesic.h:146
double f
Definition geodesic.h:148
double a
Definition geodesic.h:147
Definition geodesic.h:159
double lon1
Definition geodesic.h:161
double azi1
Definition geodesic.h:162
double a
Definition geodesic.h:163
double lat1
Definition geodesic.h:160
unsigned caps
Definition geodesic.h:170
double f
Definition geodesic.h:164
Definition geodesic.h:178
double lon
Definition geodesic.h:180
unsigned num
Definition geodesic.h:189
double lat
Definition geodesic.h:179