Get values adjacent to the target
Arguments
- yy
The target y coordinate
- xx
The target x coordinate
- data
A matrix
- yCount
The number of rows to include on either side of the target
- xCount
The number of columns to include on either side of the target
Value
A matrix of the dimensions specified
Details
Does include the target point. If a wall is clipped, the dimensions
will not include the clipped wall.