Method GetOrthogonalNeighbors
GetOrthogonalNeighbors(GridPoint3)
Gets the "orthogonal" neighbors for the given point, that is, the eight neighbors in the cardinal directions.
public static IEnumerable<GridPoint3> GetOrthogonalNeighbors(GridPoint3 point)
Parameters
point
GridPoint3
Returns
Remarks
The term "orthogonal" is used to be consistent with the method in RectPoint, and is meant to mean axis-aligned.