import math


def calc_point_distance(x1, y1, x2, y2):
    """ Calculates distance between two points.

    :param x1: The X-coordinate for the first point.
    :param y1: The Y-coordinate for the first point.
    :param x2: The X-coordinate for the second point.
    :param y2: The Y-coordinate for the second point.

    :return: The point distance.
    """

    return math.hypot(x2 - x1, y2 - y1)