Skip to main content

buildContourAdjacency

Callable

  • buildContourAdjacency(positions: ArrayLike<number>, indices: ArrayLike<number>): ContourAdjacency

  • Welds vertices (1 mm) and builds the edge/face adjacency + per-face normals used by extractApparentContours. View-independent; cache per mesh.


    Parameters

    • positions: ArrayLike<number>
    • indices: ArrayLike<number>

    Returns ContourAdjacency