def hash_qpointf(point):
    """
    a hash function for QPontF,
        Args:
            point (QpointF) the point
        Returns:
            hash of tuple formed from end point coordinates (x, y)
    """
    coords = (point.x(), point.y())
    return hash(coords)