Interface: MeshAdjacency
Defined in: src/utils/meshAdjacency.ts:14
Mesh adjacency data structure.
Stores both vertex-to-vertex (neighbors) and vertex-to-face (vertexFaces) adjacency information for efficient mesh traversal.
Properties
neighbors
ts
neighbors: Set<number>[];Defined in: src/utils/meshAdjacency.ts:16
neighbors[v] is the Set of vertex indices adjacent to vertex v
vertexFaces
ts
vertexFaces: number[][];Defined in: src/utils/meshAdjacency.ts:18
vertexFaces[v] is the array of face indices incident to vertex v
vertexCount
ts
vertexCount: number;Defined in: src/utils/meshAdjacency.ts:20
Total vertex count