@staticmethod
def checkBoundaries(points):
    """
        checkBoundaries removes point 0,0 and 0, 360 if present.

        :param points:
        :return: points
        """
    if points[0] == (0, 0):
        del points[0]
    if points[len(points) - 1] == (0, 360):
        del points[-1]
    return points
