Go to the documentation of this file.
31 static double lon_center;
33 static double sin_lat_o;
34 static double cos_lat_o;
35 static double false_easting;
36 static double false_northing;
52 lon_center = center_long;
53 false_easting = false_east;
54 false_northing = false_north;
55 sincos(center_lat, &sin_lat_o, &cos_lat_o);
89 sincos(delta_lon, &sin_delta_lon, &cos_delta_lon);
90 g = sin_lat_o * sin_lat + cos_lat_o * cos_lat * cos_delta_lon;
96 ksp =
R * sqrt(2.0 / (1.0 +
g));
97 *
x = ksp * cos_lat * sin_delta_lon + false_easting;
98 *
y = ksp * (cos_lat_o * sin_lat - sin_lat_o * cos_lat * cos_delta_lon) +
void gctp_print_title(const char *proj_name)
long lamazfor(double lon, double lat, double *x, double *y)
void gctp_print_cenlon(double A)
#define GCTP_PRINT_ERROR(format,...)
double adjust_lon(double x)
void gctp_print_offsetp(double A, double B)
long lamazforint(double r, double center_long, double center_lat, double false_east, double false_north)
void gctp_print_radius(double radius)
void gctp_print_cenlat(double A)