def iedges_to_geometry_results(iedges_all, geometry_array, results_array):
    """
    Takes the iedges and slices the geometry/results to isolate the rings
    or C shapes.
    """
    geometry = []
    results = []
    for iedges in iedges_all:
        geometryi = geometry_array[(iedges), :]
        resultsi = results_array[iedges]
        geometry.append(geometryi)
        results.append(resultsi)
    return geometry, results
