Skip to content

distance

distance(pA, pB): number

Get the distance between two points.

Parameters

pA: IPoint

pB: Point

Returns

number

Source

src/utils/PointUtils.ts:69