+(NSString *)MarsCoordinatesHX_lat:(double )newHX_lat HX_lon:(double )newHX_lon{
double x = newHX_lat, y = newHX_lon;
double z = sqrt(x * x + y * y) + 0.00002 * sin(y * x_pi);
double theta = atan2(y, x) + 0.000003 * cos(x * x_pi);
double bd_lon = z * cos(theta) + 0.0065;
double bd_lat = z * sin(theta) + 0.006;
NSString *point=[NSString stringWithFormat:@"%f,%f",bd_lon,bd_lat];
return point;
}
double x = newHX_lat, y = newHX_lon;
double z = sqrt(x * x + y * y) + 0.00002 * sin(y * x_pi);
double theta = atan2(y, x) + 0.000003 * cos(x * x_pi);
double bd_lon = z * cos(theta) + 0.0065;
double bd_lat = z * sin(theta) + 0.006;
NSString *point=[NSString stringWithFormat:@"%f,%f",bd_lon,bd_lat];
return point;
}