Neighborhood query that gathers neighbors in a Moore (N, S, E, W, NE, etc.) neighborhood.
Definition: Moore2DGridQuery.h:58
Moore2DGridQuery(const Grid< T, int > *grid)
Creates Moore2DGridQuery that will query the specified Grid.
Definition: Moore2DGridQuery.h:81
virtual void query(const Point< int > ¢er, int range, bool includeCenter, std::vector< T * > &out) const
Queries the Grid for the Moore neighbors surrounding the center point within a specified range.
Definition: Moore2DGridQuery.h:86