Skip to content

distanceSq

distanceSq(pA, pB): number

Get the squared distance between two points.

Parameters

pA: IPoint

pB: Point

Returns

number

Source

src/utils/PointUtils.ts:78