filter

fun filter(valueX: Double, valueY: Double, valueZ: Double, output: DoubleArray, timestamp: Long): Boolean

Filters provided values.

Return

true if result is reliable, false otherwise.

Parameters

valueX

x-coordinate of sample to be filtered.

valueY

y-coordinate of sample to be filtered.

valueZ

z-coordinate of sample to be filtered.

output

array containing result of filtering. Must have length 3.

timestamp

timestamp expressed in nano seconds.

Throws

if provided output array does not have length 3.