Go to the documentation of this file.
24 static double r_major;
25 static double lon_center;
26 static double lat_origin;
27 static double false_northing;
28 static double false_easting;
29 static double sin_p14;
30 static double cos_p14;
46 lon_center = center_lon;
47 lat_origin = center_lat;
48 false_northing = false_north;
49 false_easting = false_east;
51 sincos(center_lat,&sin_p14,&cos_p14);
74 double sinphi, cosphi;
85 g = sin_p14 * sinphi + cos_p14 * cosphi * coslon;
89 *
x = false_easting + r_major * ksp * cosphi * sin(dlon);
90 *
y = false_northing + r_major * ksp * (cos_p14 * sinphi -
91 sin_p14 * cosphi * coslon);
void gctp_print_origin(double A)
void gctp_print_title(const char *proj_name)
long orthfor(double lon, double lat, double *x, double *y)
#define GCTP_PRINT_ERROR(format,...)
double adjust_lon(double x)
void gctp_print_offsetp(double A, double B)
void gctp_print_cenlonmer(double A)
long orthforint(double r_maj, double center_lon, double center_lat, double false_east, double false_north)
void gctp_print_radius(double radius)