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: booleantrue): void | Push edges all around a facet, returning to vertexArray[0] | |
| sort(): void | Sort the edge index array. | |
| sortAndCollectClusters(manifoldPairs: SortableEdgeCluster[], singletons?: SortableEdgeCluster[], nullEdges?: SortableEdgeCluster[], allOtherClusters?: 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 98
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.