def create_idx(start, end):
    """ Creates indexes for boundary vertices so that segments can be created for a constrained triangulation. """

    return [[i, i + 1] for i in range(start, end)] + [[end, start]]