Function distance

  • Calculate the distance between two points

    Returns

    the distance between p1 and p2

    Parameters

    • p1: Vector

      coordinates of point 1

    • p2: Vector

      coordinates of point 2

    Returns number

Generated using TypeDoc