GPSTrace

interface GPSTrace : TimedRoute<P>

Inheritors

Functions

Link copied to clipboard
open fun forEach(p: Consumer<in T>)
Link copied to clipboard
abstract fun getFinalPosition(): GPSPoint
Link copied to clipboard
abstract fun getFinalTime(): Time
Link copied to clipboard
Link copied to clipboard
abstract fun getNextPosition(time: Time): GPSPoint
Link copied to clipboard
abstract fun getPoint(p: Int): P
Link copied to clipboard
abstract fun getPoints(): List<P>
Link copied to clipboard
abstract fun getPreviousPosition(time: Time): GPSPoint
Link copied to clipboard
abstract fun getStartTime(): Time
Link copied to clipboard
abstract fun getTripTime(): Double
Link copied to clipboard
abstract fun interpolate(time: Time): GeoPosition
Link copied to clipboard
abstract fun iterator(): Iterator<T>
Link copied to clipboard
abstract fun length(): Double
Link copied to clipboard
fun <R> Iterable<R>.randomElement(randomGenerator: RandomGenerator): R

Returns a random element of the Iterable using the provided randomGenerator.

Link copied to clipboard
fun <R> Iterable<R>.shuffled(randomGenerator: RandomGenerator): Iterable<R>

Fisher–Yates shuffle algorithm using a RandomGenerator. More information on Wikipedia.

Link copied to clipboard
abstract fun size(): Int
Link copied to clipboard
Link copied to clipboard
abstract fun startAt(time: Time): GPSTrace
Link copied to clipboard
abstract fun stream(): Stream<P>