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

Last Updated: 17 December, 2024