• Calculates the Euclidean distance between two points.

    Parameters

    • point1: Point

      The first point.

    • point2: Point

      The second point.

    Returns number

    The distance between the two points.