24template<
typename Index>
28 using iterator_category = std::input_iterator_tag;
29 using difference_type = std::ptrdiff_t;
30 using value_type = Index;
31 using pointer = Index*;
32 using reference =
const Index&;
41 return m_index != other.m_index;
46 return m_index == other.m_index;
63 PONCA_MULTIARCH
inline void operator +=(
int i) {m_index += i;}
67 return const_cast<reference
>(m_index);
Input iterator to read the KdTreeKNearestQueryBase object.
reference operator*() const
Dereference operator.
KdTreeNearestIterator & operator++()
Prefix increment.
bool operator==(const KdTreeNearestIterator &other) const
Equality operand.
bool operator!=(const KdTreeNearestIterator &other) const
Inequality operand.
void operator+=(int i)
Value increment.
KdTreeNearestIterator operator++(int)
Postfix increment.
This Source Code Form is subject to the terms of the Mozilla Public License, v.