fromLatLon

fun fromLatLon(latitude: Angle, longitude: Angle): UPSCoord

Create a set of UPS coordinates from a pair of latitude and longitude for the given Globe.

Return

the corresponding UPSCoord.

Parameters

latitude

the latitude.

longitude

the longitude.

Throws

if the conversion to UPS coordinates fails.