app / sg.edu.ntu.scse.cz2006.gymbuddies.util.svy21converter / SVY21 / computeLatLon

computeLatLon

open static fun computeLatLon(N: Double, E: Double): LatLonCoordinate!

Computes Latitude and Longitude based on an SVY21 coordinate. This method returns an immutable LatLonCoordiante object that contains two fields, latitude, accessible with .getLatitude(), and longitude, accessible with .getLongitude().

Parameters

N - Double: Northing based on SVY21.

E - Double: Easting based on SVY21.

Return
LatLonCoordinate!: the conversion result a LatLonCoordinate.

open static fun computeLatLon(coord: SVY21Coordinate!): LatLonCoordinate!

Computes Latitude and Longitude based on an SVY21 coordinate. This method returns an immutable LatLonCoordiante object that contains two fields, latitude, accessible with .getLatitude(), and longitude, accessible with .getLongitude(). This method is a shorthand for the functionally identical public LatLonCoordinate computeLatLon(double N, double E).

Parameters

coord - SVY21Coordinate!: an SVY21Coordinate object to convert.

Return
LatLonCoordinate!: the conversion result a LatLonCoordinate.