brepjs API Reference
    Preparing search index...

    Function adjacentFaces

    • Get all faces that share at least one edge with the given face.

      The returned list does not include the input face itself.

      Parameters

      • parent: AnyShape

        The parent shape to search within.

      • face: Face

        The face whose neighbors to find.

      Returns Face[]

      Array of unique adjacent faces (excluding the input face).