Function distance

  • Calculate the distance between two points.

    Returns

    √(Δx² + Δy² + Δz²)

    Parameters

    • xs: number[]

      first point ([x, y, z, ...])

    • ys: number[]

      second point ([x, y, z, ...])

    Returns number

Generated using TypeDoc