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  

Defined in

Last Updated: 08 January, 2020