fromTM

fun fromTM(easting: Double, northing: Double, originLatitude: Angle, centralMeridian: Angle, falseEasting: Double, falseNorthing: Double, scale: Double): TMCoord

Create a set of Transverse Mercator coordinates for the given easting, northing and projection parameters.

Return

the corresponding TMCoord.

Parameters

easting

the easting distance value in meters.

northing

the northing distance value in meters.

originLatitude

the origin latitude Angle.

centralMeridian

the central meridian longitude Angle.

falseEasting

easting value at the center of the projection in meters.

falseNorthing

northing value at the center of the projection in meters.

scale

scaling factor.

Throws

if the conversion to geodetic coordinates fails. If the globe is null conversion will default to using WGS84.