C# Class RdToLatLong.ConvertRdCoordinates

Conversion between Dutch Rijksdriehoeksmeting and GPS coordinates. Berend Engelbrecht, Decos Software Engineering BV, February 2012.
ファイルを表示 Open project: TNOCS/csTouch

Public Methods

Method Description
LatLongToRD ( double dblLatitude, double dblLongitude, int &iX, int &iY ) : void

Converts latitude, longitude to RD x,y coordinates in meters.

RDToLatLong ( int iX, int iY, double &dblLatitude, double &dblLongitude ) : void

Converts Rijksdriehoeksmeting coordinates in meters to GPS coordinates in Lat/Long.

Private Methods

Method Description
pow ( double d, int p ) : double

Calculates d^p for integer values of p >= 0

Method Details

LatLongToRD() public static method

Converts latitude, longitude to RD x,y coordinates in meters.
public static LatLongToRD ( double dblLatitude, double dblLongitude, int &iX, int &iY ) : void
dblLatitude double Latitude
dblLongitude double Longitude
iX int RD x coordinate
iY int RD y coordinate
return void

RDToLatLong() public static method

Converts Rijksdriehoeksmeting coordinates in meters to GPS coordinates in Lat/Long.
public static RDToLatLong ( int iX, int iY, double &dblLatitude, double &dblLongitude ) : void
iX int RD x coordinate
iY int RD y coordinate
dblLatitude double Latitude
dblLongitude double Longitude
return void