@staticmethod
def _next_point(p, n):
    """
        Helper method that calculates next antipodal point
        :param p: previous point
        :param n: total number of points in a contour
        :return:
        """
    return p % n + 1
