Go to the documentation of this file.
25 static double r_major;
26 static double lon_center;
27 static double lat_origin;
28 static double false_northing;
29 static double false_easting;
30 static double sin_p12;
31 static double cos_p12;
48 lon_center = center_lon;
49 lat_origin = center_lat;
50 false_northing = false_north;
51 false_easting = false_east;
53 sincos(center_lat,&sin_p12,&cos_p12);
76 double sinphi, cosphi;
89 g = sin_p12 * sinphi + cos_p12 * cosphi * coslon;
105 *
x = false_easting + r_major * ksp * cosphi * sin(dlon);
106 *
y = false_northing + r_major * ksp * (cos_p12 * sinphi - sin_p12 *
void gctp_print_origin(double A)
void gctp_print_title(const char *proj_name)
#define GCTP_PRINT_ERROR(format,...)
long azimforint(double r_maj, double center_lon, double center_lat, double false_east, double false_north)
double adjust_lon(double x)
void gctp_print_offsetp(double A, double B)
void gctp_print_cenlonmer(double A)
long azimfor(double lon, double lat, double *x, double *y)
void gctp_print_radius(double radius)