brepjs API Reference
    Preparing search index...

    Function sharedEdges

    • Get all edges shared between two faces.

      Prefers the kernel's native sharedEdges (computed from its internal edge-to-face adjacency) and falls back to sharedEdgesJS on kernels that don't implement it. Both return fresh, caller-owned edge handles.

      Type Parameters

      Parameters

      • face1: Face<D>

        The first face.

      • face2: Face<D>

        The second face.

      Returns Edge<D>[]

      Array of edges present in both faces (via isSame comparison).