@staticmethod
def add_polygon_coordinates(coordinates: list, point: list):
    """Add given point to given coordinates list if is not the equal to the last coordinates."""
    if coordinates:
        last_point = coordinates[-1]
        if last_point[0] == point[0] and last_point[1] == point[1]:
            return
    coordinates.append(point)
