Spatial C++ Library
Generic Multi-Dimensional Containers and Spatial Operations
|
Facilitate the creation of an iterator range representing a sequence from closest to furthest from the target key position, in euclidian space. More...
#include <spatial_euclidian_neighbor.hpp>
Inherits spatial::neighbor_iterator_pair< Ct, euclidian< Ct, DistanceType, Diff > >.
Public Member Functions | |
euclidian_neighbor_iterator_pair () | |
euclidian_neighbor_iterator_pair (const euclidian_neighbor_iterator< Ct, DistanceType, Diff > &a, const euclidian_neighbor_iterator< Ct, DistanceType, Diff > &b) | |
template<typename AnyDistanceType > | |
euclidian_neighbor_iterator_pair (const neighbor_iterator_pair< Ct, euclidian< Ct, AnyDistanceType, Diff > > &other) | |
Public Member Functions inherited from spatial::neighbor_iterator_pair< Ct, euclidian< Ct, DistanceType, Diff > > | |
neighbor_iterator_pair () | |
Empty constructor. More... | |
neighbor_iterator_pair (const neighbor_iterator< Ct, euclidian< Ct, DistanceType, Diff > > &a, const neighbor_iterator< Ct, euclidian< Ct, DistanceType, Diff > > &b) | |
Regular constructor that builds a neighbor_iterator_pair out of 2 neighbor_iterators. More... | |
Private Types | |
typedef enable_if< import::is_floating_point< DistanceType > > | check_concept_distance_type_is_floating_point |
Additional Inherited Members | |
Public Types inherited from spatial::neighbor_iterator_pair< Ct, euclidian< Ct, DistanceType, Diff > > | |
typedef std::pair< neighbor_iterator< Ct, euclidian< Ct, DistanceType, Diff > >, neighbor_iterator< Ct, euclidian< Ct, DistanceType, Diff > > > | Base |
A pair of iterators that represents a range (that is: a range of elements to iterate, and not an orthogonal range). More... | |
Facilitate the creation of an iterator range representing a sequence from closest to furthest from the target key position, in euclidian space.
Ct | The container to iterator. |
DistanceType | The type used to represent the distance, it must be a primitive floating point type. |
Diff | The difference functor that will compute the difference between 2 key element in the container, along a specific dimension. See Difference for further explanation. |
This class has an associated group of functions designed to initialize the iterator position at the beginning, end, lower bound or upper bound of the container to iterate.
Definition at line 111 of file spatial_euclidian_neighbor.hpp.
|
private |
Definition at line 116 of file spatial_euclidian_neighbor.hpp.
spatial::euclidian_neighbor_iterator_pair< Ct, DistanceType, Diff >::euclidian_neighbor_iterator_pair | ( | ) |
Definition at line 119 of file spatial_euclidian_neighbor.hpp.
spatial::euclidian_neighbor_iterator_pair< Ct, DistanceType, Diff >::euclidian_neighbor_iterator_pair | ( | const euclidian_neighbor_iterator< Ct, DistanceType, Diff > & | a, |
const euclidian_neighbor_iterator< Ct, DistanceType, Diff > & | b | ||
) |
Definition at line 122 of file spatial_euclidian_neighbor.hpp.
spatial::euclidian_neighbor_iterator_pair< Ct, DistanceType, Diff >::euclidian_neighbor_iterator_pair | ( | const neighbor_iterator_pair< Ct, euclidian< Ct, AnyDistanceType, Diff > > & | other | ) |
Definition at line 129 of file spatial_euclidian_neighbor.hpp.