Face.getNeighbors()

July 1, 2026 ยท View on GitHub

Returns neighboring Face objects that share an edge with this face.

Usage

const neighbors = face.getNeighbors();

Signature

face.getNeighbors()

Parameters

None.

Returns

Face[] - Deduplicated neighboring faces that share an edge with this face.

It prefers already-populated edge links and falls back to boundary polyline lookup on the parent solid.