TraceLoader

Loads GPSTraces from a file or directory, aligns their time, and makes them iterable, optionally cyclically.

Constructors

Link copied to clipboard
constructor(path: String, cycle: Boolean, normalizer: GPSTimeAlignment)
Builds a new loader using the given time normalizer.
constructor(path: String, cycle: Boolean, timeNormalizerClass: String, normalizerArgs: Array<Any>)
Builds a new loader, creating the time normalizer by class name with the given arguments.
constructor(path: String, normalizer: GPSTimeAlignment)
Builds a new non-cyclic loader using the given time normalizer.
constructor(path: String, timeNormalizerClass: String, normalizerArgs: Array<Any>)
Builds a new non-cyclic loader, creating the time normalizer by class name with the given arguments.

Functions

Link copied to clipboard
open fun forEach(action: Consumer<in T>)
Link copied to clipboard
Link copied to clipboard
open fun size(): Optional<Integer>
Returns the number of loaded traces, if finite.
Link copied to clipboard