addSamples

fun addSamples(times: ReadonlyArray<JulianDate>, positions: ReadonlyArray<Cartesian3>, derivatives: ReadonlyArray<ReadonlyArray<Any>>? = definedExternally)(source)

Adds multiple samples via parallel arrays.

Parameters

times

An array of JulianDate instances where each index is a sample time.

positions

An array of Cartesian3 position instances, where each value corresponds to the provided time index.

derivatives

An array where each value is another array containing derivatives for the corresponding time index.

See also