minus

open fun minus(other: GeoPosition): GeoPosition

Subtracts the provided GeoPosition from this GeoPosition.

Return

the difference.

Parameters

other

the position to subtract to this one


open fun minus(other: Array<Double>): GeoPosition

Considers both positions as vectors, and returns the difference between this position and the passed one.

Return

a new {@link Position} that is this position minus the one passed.

Parameters

other

the other position