Assumes origin of 38,-98. Earth radius of 6380km, lat of 1st parallel of 33, lat of 2nd parallel of 45.
Public Member Functions | |
LatLon | getLatLon (int x, int y) throw (std::string) |
converts grid box to lat-long | |
LatLonLambertNIDS (double boxsize, int grid_x_size, int grid_y_size) | |
Construct a converter by telling it all the needed parameters. | |
Static Public Member Functions | |
static LatLon | getLatLon (const Length &x, const Length &y) |
converts x/y km to lat-long |
code::LatLonLambertNIDS::LatLonLambertNIDS | ( | double | boxsize, | |
int | grid_x_size, | |||
int | grid_y_size | |||
) |
Construct a converter by telling it all the needed parameters.
LatLon code::LatLonLambertNIDS::getLatLon | ( | int | x, | |
int | y | |||
) | throw (std::string) |
converts grid box to lat-long
converts x/y km to lat-long