GPSTraceImpl

Implementation of a GPSTrace.

Constructors

Link copied to clipboard
constructor(trace: Array<GPSPoint>)
constructor(tr: List<GPSPoint>)

Functions

Link copied to clipboard
fun equals(p: Any): Boolean
Link copied to clipboard
open fun forEach(p: Consumer<in T>)
Link copied to clipboard
Link copied to clipboard
open fun getFinalTime(): Time
Link copied to clipboard
Link copied to clipboard
open fun getNextPosition(time: Time): GPSPoint
Link copied to clipboard
fun getPoint(p: Int): P
Link copied to clipboard
abstract fun getPoints(): List<P>
fun getPoints(): ImmutableList<P>
Link copied to clipboard
Link copied to clipboard
open fun getStartTime(): Time
Link copied to clipboard
open fun getTripTime(): Double
Link copied to clipboard
fun hashCode(): Int
Link copied to clipboard
open fun interpolate(time: Time): GeoPosition
Link copied to clipboard
abstract fun iterator(): Iterator<T>
Link copied to clipboard
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
fun size(): Int
Link copied to clipboard
Link copied to clipboard
open fun startAt(time: Time): GPSTraceImpl
Link copied to clipboard
fun stream(): Stream<P>
Link copied to clipboard
open fun toString(): String