API Reference > geometry-core > Polyface > IndexedEdgeMatcher IndexedEdgeMatcher Class An IndexedEdgeMatcher carries an array (edges) of edges start & end indices for sorting and subsequent analyses (such as testing for closed mesh) Methods Name Description constructor(): IndexedEdgeMatcher addEdge(vertexA: number, vertexB: number, facetIndex: number): SortableEdge push a new edge. addPath(vertexArray: number[], facetIndex: number, closeLoop: boolean = true): void Push edges all around a facet, returning to vertexArray[0] sort(): void Sort the edge index array. sortAndCollectClusters(manifoldPairs: undefined | SortableEdgeCluster[], singletons: undefined | SortableEdgeCluster[], nullEdges: undefined | SortableEdgeCluster[], allOtherClusters: undefined | SortableEdgeCluster[]): void sort the edges, and look for three categories of paired edges: Properties Name Type Description edges SortableEdge[] Defined in polyface/IndexedEdgeMatcher.ts Line 101 Last Updated: 11 June, 2024