Skip to content

uncheckedSquaredEuclideanDistance2D(firstX, firstY, secondX, secondY): number

Defined in: packages/distance/src/vector-distance.ts:52

Sum squared differences between two planar points. The caller supplies finite coordinates. Ordinary binary64 sums can overflow or lose subnormal terms. Takes O(1) time and space.

number

number

number

number

number