AlignToTime

Aligns the traces with the given time in seconds from Epoch. All points before such time will be discarded. All points after the provided time will be shifted back. Summarizing, the time that is provided represents in the real world the time zero of the simulation.

Constructors

Link copied to clipboard
constructor(time: Double, filterEmpty: Boolean, exceptionForEmpty: Boolean)
Builds a new alignment to the given time, expressed in seconds from Epoch.
constructor(time: Time, filterEmpty: Boolean, exceptionForEmpty: Boolean)
Builds a new alignment to the given Time.

Functions

Link copied to clipboard
abstract fun alignTime(traces: List<GPSTrace>): ImmutableList<GPSTrace>
Aligns the time of the given traces.