distance Method

Deprecated  use distanceIndexIndex

Return the distance between two points in the array.

distance(i: number, j: number): number | undefined

Parameter Type Description
i number  
j number  

Returns - number | undefined

Defined in

Last Updated: 13 June, 2024