Distance Operations

tDistance returns the distance between two values at each instant, as a temporal float, and nearestApproachDistance the smallest of these distances. distance and its set, span and span set forms return the distance between two values, and th3GridDistance the grid distance between two temporal H3 cells at each instant, as a temporal big integer.

CategoryOperatorPortable function
Distance<->tDistance(a, b)
 |=|nearestApproachDistance(a, b)
Distance (base / set / span / span set)<->distance / setDistance / spanDistance / spansetDistance (a, b)
Grid distance (cell index)<->th3GridDistance(a, b)