25 template <
typename Index,
typename DataPo
int>
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&;
35 using Scalar =
typename DataPoint::Scalar;
46 return m_iterator !=
other.m_iterator;
52 return m_iterator ==
other.m_iterator;
74 PONCA_MULTIARCH
inline reference
operator*()
const {
return const_cast<reference
>(m_iterator->index); }
Aggregator class used to declare specialized structures using CRTP.
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.
This Source Code Form is subject to the terms of the Mozilla Public License, v.