ContourAdjacency
Index
Properties
doubleSided
1 where the face had an opposite-winding coincident duplicate removed by the dedup — a zero-thickness double-sided sheet. Its boundary edges are visible from BOTH sides.
edgeCount
edgeFaces
Adjacent face indices per edge, flat pairs — the first two incident faces; -1 in the second slot = open boundary. Edges with MORE than two incident faces keep their first two here and are flagged in nonManifold, so facing stays queryable for them.
edgeVertices
Edge endpoint indices into positions, flat pairs [i0, j0, i1, j1, …].
faceCount
faceNormals
Per-face normals (flat xyz, not normalized — only the dot SIGN is consumed).
nonManifold
1 where the edge has three or more incident faces.
positions
Welded vertex positions (flat xyz).
View-independent contour adjacency for one mesh. Build once, query per view.