Method GetAdjacentFaces
- Namespace
- GeometryHelper.Meshing
- Assembly
- GeometryHelper.dll
GetAdjacentFaces(int)
Gets the faces that share an edge with a face.
public int[] GetAdjacentFaces(int index)
Parameters
indexintThe face.
Returns
- int[]
The neighbours, in ascending order; none for a face of a grid with joints, which touches no other.
Exceptions
- ArgumentOutOfRangeException
Thrown when there is no such face.