Go to the documentation of this file.
32 static double lon_center;
35 static double sin_p15;
36 static double cos_p15;
37 static double false_easting;
38 static double false_northing;
56 lon_center = center_long;
57 false_easting = false_east;
58 false_northing = false_north;
59 sincos(center_lat, &sin_p15, &cos_p15);
95 g = sin_p15 * sinphi + cos_p15 * cosphi * coslon;
101 ksp = (
p - 1.0)/(
p -
g);
102 *
x = false_easting +
R * ksp * cosphi * sin(dlon);
103 *
y = false_northing +
R * ksp * (cos_p15 * sinphi - sin_p15 * cosphi * coslon);
void gctp_print_title(const char *proj_name)
void gctp_print_cenlon(double A)
#define GCTP_PRINT_ERROR(format,...)
double adjust_lon(double x)
long gvnspforint(double r, double h, double center_long, double center_lat, double false_east, double false_north)
void gctp_print_offsetp(double A, double B)
void gctp_print_genrpt(double A, const char *S)
long gvnspfor(double lon, double lat, double *x, double *y)
void gctp_print_radius(double radius)
void gctp_print_cenlat(double A)