Distance

data class Distance

This class represents a distance following the surface of the earth. It can be used in geospatial queries like those represented by a GeoCircle.

Types

Companion
Link copied to clipboard
object Companion

Properties

inDegrees
Link copied to clipboard
val inDegrees: Double

Returns the distance in degrees.

inKilometers
Link copied to clipboard
val inKilometers: Double

Returns the distance in kilometers on the face of the earth.

inMiles
Link copied to clipboard
val inMiles: Double

Returns the distance in miles on the face of the earth.

inRadians
Link copied to clipboard
val inRadians: Double

Returns the distance in radians.