Go to the documentation of this file.
30 static double lon_center;
35 static double xlr[21];
52 lon_center = center_long;
97 for (
i = 0;
i < 21;
i++)
127 p2 =
fabs(
lat / 5.0 / .01745329252);
128 ip1 = (long) (p2 -
EPSLN);
133 *
x =
R * (xlr[ip1 + 2] + p2 * (xlr[ip1 + 3] - xlr[ip1 + 1]) / 2.0 +
134 p2 * p2 * (xlr[ip1 + 3] - 2.0 * xlr[ip1 + 2] + xlr[ip1 + 1])/2.0) *
138 *
y =
R * (pr[ip1 + 2] + p2 * (pr[ip1 + 3] - pr[ip1 +1]) / 2.0 + p2 * p2 *
139 (pr[ip1 + 3] - 2.0 * pr[ip1 + 2] + pr[ip1 + 1]) / 2.0) *
PI / 2.0 +
142 *
y = -
R * (pr[ip1 + 2] + p2 * (pr[ip1 + 3] - pr[ip1 +1]) / 2.0 + p2 * p2 *
143 (pr[ip1 + 3] - 2.0 * pr[ip1 + 2] + pr[ip1 + 1]) / 2.0) *
PI / 2.0 +
void gctp_print_title(const char *proj_name)
void gctp_print_cenlon(double A)
double adjust_lon(double x)
long robfor(double lon, double lat, double *x, double *y)
void gctp_print_offsetp(double A, double B)
integer, parameter double
long robforint(double r, double center_long, double false_east, double false_north)
void gctp_print_radius(double radius)