def get_distance(point1, point2):
    """ Get the square of the distance of two points """

    distance = (point1.X - point2.X) ** 2 + (point1.Y - point2.Y) ** 2 + (point1.Z - point2.Z) ** 2
    return distance