25 template <
typename Index>
29 using iterator_category = std::input_iterator_tag;
30 using difference_type = std::ptrdiff_t;
31 using value_type = Index;
32 using pointer = Index*;
33 using reference =
const Index&;
43 return m_index != other.m_index;
49 return m_index == other.m_index;
68 PONCA_MULTIARCH
inline void operator+=(
int i) { m_index += i; }
71 PONCA_MULTIARCH
inline reference
operator*()
const {
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.