Citymapper SDK
jvm
Citymapper SDK
/
com.citymapper.sdk.core.geo
/
Distance
Distance
jvm
@
JvmInline
value
class
Distance
(
value
:
Double
)
:
Comparable
<
Distance
>
Content copied to clipboard
Types
Functions
Properties
Types
Companion
Link copied to clipboard
jvm
object
Companion
Content copied to clipboard
Functions
compare
To
Link copied to clipboard
jvm
open
operator override
fun
compareTo
(
other
:
Distance
)
:
Int
Content copied to clipboard
div
Link copied to clipboard
jvm
operator
fun
div
(
distance
:
Distance
)
:
Double
Content copied to clipboard
operator
fun
div
(
scale
:
Double
)
:
Distance
Content copied to clipboard
minus
Link copied to clipboard
jvm
operator
fun
minus
(
distance
:
Distance
)
:
Distance
Content copied to clipboard
plus
Link copied to clipboard
jvm
operator
fun
plus
(
distance
:
Distance
)
:
Distance
Content copied to clipboard
times
Link copied to clipboard
jvm
operator
fun
times
(
scale
:
Double
)
:
Distance
Content copied to clipboard
to
Double
Link copied to clipboard
jvm
fun
toDouble
(
unit
:
DistanceUnit
)
:
Double
Content copied to clipboard
to
Float
Link copied to clipboard
jvm
fun
toFloat
(
unit
:
DistanceUnit
)
:
Float
Content copied to clipboard
to
String
Link copied to clipboard
jvm
open
override
fun
toString
(
)
:
String
Content copied to clipboard
unary
Minus
Link copied to clipboard
jvm
operator
fun
unaryMinus
(
)
:
Distance
Content copied to clipboard
Properties
inFeet
Link copied to clipboard
jvm
val
inFeet
:
Double
Content copied to clipboard
inKilometres
Link copied to clipboard
jvm
val
inKilometres
:
Double
Content copied to clipboard
inMeters
Link copied to clipboard
jvm
val
inMeters
:
Double
Content copied to clipboard
inMiles
Link copied to clipboard
jvm
val
inMiles
:
Double
Content copied to clipboard
inYards
Link copied to clipboard
jvm
val
inYards
:
Double
Content copied to clipboard