Aboria::lattice_iterator_within_distance
// In header: </home/travis/build/martinjrobins/Aboria/src/NeighbourSearchBase.h> template<typename Query, int LNormNumber, typename Transform> class lattice_iterator_within_distance { public: // types typedef proxy_int_d pointer; typedef std::random_access_iterator_tag iterator_category; typedef const proxy_int_d & reference; typedef proxy_int_d value_type; typedef std::ptrdiff_t difference_type; // member classes/structs/unions struct proxy_int_d : public Aboria::Vector< int, dimension > { // construct/copy/destruct proxy_int_d(); proxy_int_d(const int_d &); // public member functions proxy_int_d & operator&(); const proxy_int_d & operator&() const; const proxy_int_d & operator*() const; proxy_int_d & operator*(); const proxy_int_d * operator->() const; proxy_int_d * operator->(); }; // construct/copy/destruct lattice_iterator_within_distance(); lattice_iterator_within_distance(const double_d &, const double, const Query *, const Transform &); // public member functions explicit operator size_t() const; lattice_iterator< dimension > get_child_iterator() const; reference operator*() const; reference operator->() const; iterator & operator++(); iterator operator++(int); size_t operator-(const iterator &) const; bool operator==(const iterator &) const; bool operator==(const bool) const; bool operator!=(const iterator &) const; bool operator!=(const bool) const; // private member functions bool equal(iterator const &) const; bool equal(const bool) const; reference dereference() const; bool ith_quadrant_bit(const int) const; double get_min_distance_to_bucket(const int_d &); void reset_min_and_index(); bool outside_domain(const double_d &); void increment(); };
lattice_iterator_within_distance
public member functionsexplicit operator size_t() const;
lattice_iterator< dimension > get_child_iterator() const;
reference operator*() const;
reference operator->() const;
iterator & operator++();
iterator operator++(int);
size_t operator-(const iterator & start) const;
bool operator==(const iterator & rhs) const;
bool operator==(const bool rhs) const;
bool operator!=(const iterator & rhs) const;
bool operator!=(const bool rhs) const;
lattice_iterator_within_distance
private member functionsbool equal(iterator const & other) const;
bool equal(const bool other) const;
reference dereference() const;
bool ith_quadrant_bit(const int i) const;
double get_min_distance_to_bucket(const int_d & bucket);
void reset_min_and_index();
bool outside_domain(const double_d & position);
void increment();