Companion

object Companion

Properties

Link copied to clipboard

Pattern that recognises the canonical UTM textual form on uppercased input — <zone> <N|S> <easting>E <northing>N. Used by Location.fromString to dispatch to fromString.

Functions

Link copied to clipboard
fun fromLatLon(latitude: Angle, longitude: Angle): UTMCoord

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

Link copied to clipboard

Create a UTM coordinate from a standard UTM coordinate text string.

Link copied to clipboard
fun fromUTM(zone: Int, hemisphere: Hemisphere, easting: Double, northing: Double): UTMCoord

Create a set of UTM coordinates.