MRPT logo

mrpt::topography Namespace Reference

This namespace provides topography helper functions, coordinate transformations. More...


Functions

void MRPTDLLIMPEXP coordinatesTransformation_WGS84 (double in_longitude_degrees, double in_latitude_degrees, double in_height_meters, double &out_x_meters, double &out_y_meters, double &out_z_meters, double in_longitude_reference_degrees, double in_latitude_reference_degrees, double in_height_reference_meters)
 Coordinates transformation from longitude/latitude/height to X/Y/Z coordinates The WGS84 ellipsoid is used for the transformation.
void MRPTDLLIMPEXP coordinatesTransformation_WGS84_geocentric (double in_longitude_degrees, double in_latitude_degrees, double in_height_meters, double &out_x_meters, double &out_y_meters, double &out_z_meters)
 Coordinates transformation from longitude/latitude/height to geocentric X/Y/Z coordinates.
void MRPTDLLIMPEXP LatLonToUTM (double in_latitude_degrees, double in_longitude_degrees, double &out_UTM_x, double &out_UTM_y, int &out_UTM_zone, char &out_UTM_latitude_band)
 Convert latitude and longitude coordinates into UTM coordinates, computing the corresponding UTM zone and latitude band.


Detailed Description

This namespace provides topography helper functions, coordinate transformations.


Function Documentation

void MRPTDLLIMPEXP mrpt::topography::coordinatesTransformation_WGS84 ( double  in_longitude_degrees,
double  in_latitude_degrees,
double  in_height_meters,
double &  out_x_meters,
double &  out_y_meters,
double &  out_z_meters,
double  in_longitude_reference_degrees,
double  in_latitude_reference_degrees,
double  in_height_reference_meters 
)

Coordinates transformation from longitude/latitude/height to X/Y/Z coordinates The WGS84 ellipsoid is used for the transformation.

The coordinates are in 3D relative to some user-provided point, with local X axis being east-ward, Y north-ward, Z up-ward. For an explanation, refer to http://en.wikipedia.org/wiki/Reference_ellipsoid

See also:
coordinatesTransformation_WGS84_geocentric

void MRPTDLLIMPEXP mrpt::topography::coordinatesTransformation_WGS84_geocentric ( double  in_longitude_degrees,
double  in_latitude_degrees,
double  in_height_meters,
double &  out_x_meters,
double &  out_y_meters,
double &  out_z_meters 
)

Coordinates transformation from longitude/latitude/height to geocentric X/Y/Z coordinates.

The WGS84 ellipsoid is used for the transformation. The coordinates are in 3D where the reference is the center of the Earth. For an explanation, refer to http://en.wikipedia.org/wiki/Reference_ellipsoid

See also:
coordinatesTransformation_WGS84

void MRPTDLLIMPEXP mrpt::topography::LatLonToUTM ( double  in_latitude_degrees,
double  in_longitude_degrees,
double &  out_UTM_x,
double &  out_UTM_y,
int &  out_UTM_zone,
char &  out_UTM_latitude_band 
)

Convert latitude and longitude coordinates into UTM coordinates, computing the corresponding UTM zone and latitude band.

This method is based on public code by Gabriel Ruiz Martinez and Rafael Palacios. Example:

Input:
 Lat=40.3154333    Lon=-3.4857166
Output:
 x = 458731
 y = 4462881
 utm_zone = 30
 utm_band = T
See also:
http://www.mathworks.com/matlabcentral/fileexchange/10915




Page generated by Doxygen 1.5.8 for MRPT 0.6.5 SVN:exported at Mon Jan 12 13:00:16 UTC 2009