• Parameters

    • graph: FOLD

      a FOLD object, containing faces_vertices

    • Optional faces: number[]

      a list of edge indices to be used, if left empty, all edges will be used as input.

    Returns {
        [key: string]: number;
    }

    object mapping a space-separated vertex pair to a face index

    • [key: string]: number

    Description

    Make an object which answers the question: "which face contains these two vertices in this exact order?". This is accomplished by building an object with keys containing vertex pairs (space separated string), and the value is the face index. This will not work with non-manifold graphs.