Aboria::chebyshev_search — returns a search_iterator that iterates over all the particles within a given distance around a point. The user can optionally define a coordinate transform to apply before the search is performed
// In header: </home/travis/build/martinjrobins/Aboria/src/Search.h> template<typename Query, typename Transform = IdentityTransform, typename SearchIterator = search_iterator<Query, -1, Transform> > SearchIterator chebyshev_search(const Query & query, const typename Query::double_d & centre, const double max_distance, const Transform & transform = Transform());
Uses the chebyshev distance https://en.wikipedia.org/wiki/Chebyshev_distance
Parameters: |
|
||||||||
Template Parameters: |
|