Go to the documentation of this file.
25 static double lon_center[6];
26 static double feast[6];
41 lon_center[0] = 1.0471975512;
42 lon_center[1] = -2.96705972839;
43 lon_center[2] = -0.523598776;
44 lon_center[3] = 1.57079632679;
45 lon_center[4] = -2.44346095279;
46 lon_center[5] = -0.34906585;
50 feast[0] =
R * -2.19988776387;
51 feast[1] =
R * -0.15713484;
52 feast[2] =
R * 2.04275292359;
53 feast[3] =
R * -1.72848324304;
54 feast[4] =
R * 0.31426968;
55 feast[5] =
R * 2.19988776387;
88 if (
lon >= 0.34906585 &&
lon < 1.91986217719) region = 0;
90 ((
lon >= 1.919862177 &&
lon <= (
PI + 1.0E-14)) ||
91 (
lon >= (-
PI - 1.0E-14) &&
lon < -1.745329252))
97 if (
lon >= 0.34906585 &&
lon < 2.44346095279) region = 3;
99 ((
lon >= 2.44346095279 &&
lon <= (
PI +1.0E-14)) ||
100 (
lon >= (-
PI - 1.0E-14) &&
lon<-1.2217304764))
113 delta_theta = -(theta + sin(theta) - con) / (1.0 + cos(theta));
114 theta += delta_theta;
126 *
x = feast[region] + 0.900316316158 *
R * delta_lon * cos(theta);
127 *
y =
R * 1.4142135623731 * sin(theta);
void gctp_print_title(const char *proj_name)
#define GCTP_PRINT_ERROR(format,...)
double adjust_lon(double x)
long imolwfor(double lon, double lat, double *x, double *y)
void gctp_print_radius(double radius)
long imolwforint(double r)