Skip to main content

detectImpossibleJumps

@totemsdk/location-proof


@totemsdk/location-proof / detectImpossibleJumps

Function: detectImpossibleJumps()

detectImpossibleJumps(samples, options?): ImpossibleJumpResult

Scan consecutive samples for segments faster than the threshold. maxSpeedMps always reports the maximum observed consecutive-pair speed regardless of the threshold.

Parameters

samples

MotionSample[]

options?

MotionOptions = {}

Returns

ImpossibleJumpResult