def METHOD_NAME(self, coords):
    (x,y) = coords.xy
    n = len(x)
    ivals = []
    for i in range(n):
        ivals.append(self.Interval(x[i], y[i], x[(i+1) % n], y[(i+1) % n], self.sameVDir(x[i], y[i], x[(i+1) % n], y[(i+1) % n], x[(i+2) % n], y[(i+2) % n])))
    return ivals