I'm trying to describe a grid and I want to say that the adjacent grid square is chosen if it's horizontally or vertically adjacent, but not diagonally adjacent, to the current grid square.
I was thinking maybe, laterally adjacent?
English Language & Usage Stack Exchange is a question and answer site for linguists, etymologists, and serious English language enthusiasts. It only takes a minute to sign up.
Sign up to join this communityI'm trying to describe a grid and I want to say that the adjacent grid square is chosen if it's horizontally or vertically adjacent, but not diagonally adjacent, to the current grid square.
I was thinking maybe, laterally adjacent?
I've seen both "Orthogonally Adjacent" (Adjacent at right angles) and "Edge Adjacent" (Adjacent across edges rather than corners) used. They do mean slightly different things, but it's only relevant when dealing with something other than a regular rectangular grid.
Since measuring distance in this kind of topology is called "Manhattan distance" you might also try "Manhattan adjacent" although I've never seen that usage myself and it would probably require some explanation before using it.
"edge adjacent" "corner adjacent"
This PDF about Quadtree colouring makes the distinction in those terms arxiv.org/pdf/cs/9907030.pdf
– smithkm
Apr 19 '14 at 19:44
Consider Orthogonal
Orthogonal - intersecting or lying at right angles
Abut: an area that is next to and has a common boundary with.
His land abuts mine
Please consider:
bor·der noun : a line separating one country or state from another; a boundary between places
(or bordering)
from m-w.com
Geospatially (not necessesarily mathematically) anything that was diagonal would share a point, which is commonly considered not a line. E.g. Utah borders Colorado and Arizona but not New Mexico.
If you want to say that the adjacent grid square is chosen if it's horizontally or vertically adjacent, but not diagonally adjacent to the current grid square, why not say that it's "nondiagonally adjacent?"
I think that the best term is rectilinearly adjacent. Compared to orthogonal, rectilinear has a stronger connotation of being axially aligned.
Also consider
coterminous or conterminous: having the same or coincident boundaries
essentially, synonymous with bordering.
In this case, I like the term axial to describe a direction that is along the horizontal or vertical axis relative to the current position.
Axial - situated around, in the direction of, on, or along an axis.
It's not one word, and I'm not sure how many people would follow it, but from cellular automata, you could refer to "squares that are in the von Neumann neighborhood of the current square".
You should probably read the Wikipedia article about pixel connectivity.
The case you describe is called 4-connectivity, so the adjective you seek is 4-connected.