24template <
typename Index,
typename DataPo
int>
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&;
34 using Scalar =
typename DataPoint::Scalar;
44 return m_iterator != other.m_iterator;
49 return m_iterator == other.m_iterator;
63 PONCA_MULTIARCH
inline void operator +=(
int i) {m_iterator += i;}
67 return const_cast<reference
>(m_iterator->index);
Input iterator to read the KdTreeKNearestQueryBase object.
void operator+=(int i)
Value increment.
reference operator*() const
Dereference operator.
bool operator==(const KdTreeKNearestIterator &other) const
Equality operand.
bool operator!=(const KdTreeKNearestIterator &other) const
Inequality operand.
KdTreeKNearestIterator & operator++()
Prefix increment.
KdTreeKNearestIterator operator++(int)
Postfix increment.
The limited_priority_queue class is similar to std::priority_queue but has a limited capacity and han...
This Source Code Form is subject to the terms of the Mozilla Public License, v.