![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <NearestNeighbour.hpp>


Public Types | |
| typedef const HyperplaneType & | ConstReference |
| Constant reference to hyperplanes. | |
| typedef SuperType::CoordType | CoordType |
| Type of coordinates used in this class. | |
| typedef SuperType::DiscreteContainer | DiscreteContainer |
| Type of the container that contains the discrete (uninterpolated) values. | |
| typedef NearestNeighbour< T, N-1 > | HyperplaneType |
| Type of the hyperplanes. | |
| typedef SuperType::SizeType | SizeType |
| Type of sizes used in this class. | |
Public Member Functions | |
| NearestNeighbour (const DiscreteContainer &discreteValues) | |
| Construct a NearestNeighbour interpolation object that interpolates over discreteValues. | |
| virtual ConstReference | operator[] (const CoordType &coord) const |
| Select the nearest neighbour of coord. | |
Private Types | |
| typedef std::vector < HyperplaneType > | HyperplaneContainer |
| typedef Interpolation< T, N > | SuperType |
| We inherit from this class. | |
Private Attributes | |
| HyperplaneContainer | hyperplanes |
| T | Type of the values to interpolate over. | |
| N | Number of dimensions. |
Definition at line 51 of file NearestNeighbour.hpp.
| typedef const HyperplaneType& wns::NearestNeighbour< T, N >::ConstReference |
Reimplemented from wns::container::MultiReadAccessible< T, N, R, I >.
Definition at line 83 of file NearestNeighbour.hpp.
| typedef SuperType::CoordType wns::NearestNeighbour< T, N >::CoordType |
| typedef SuperType::DiscreteContainer wns::NearestNeighbour< T, N >::DiscreteContainer |
typedef std::vector<HyperplaneType> wns::NearestNeighbour< T, N >::HyperplaneContainer [private] |
Definition at line 114 of file NearestNeighbour.hpp.
| typedef NearestNeighbour<T, N-1> wns::NearestNeighbour< T, N >::HyperplaneType |
Definition at line 78 of file NearestNeighbour.hpp.
| typedef SuperType::SizeType wns::NearestNeighbour< T, N >::SizeType |
typedef Interpolation<T, N> wns::NearestNeighbour< T, N >::SuperType [private] |
| wns::NearestNeighbour< T, N >::NearestNeighbour | ( | const DiscreteContainer & | discreteValues | ) | [inline] |
| discreteValues | (in) Container that contains the values which we interpolate over. |
Definition at line 92 of file NearestNeighbour.hpp.
| virtual ConstReference wns::NearestNeighbour< T, N >::operator[] | ( | const CoordType & | coord | ) | const [inline, virtual] |
Returns a const reference to the hyperplane specified by coord.
Definition at line 107 of file NearestNeighbour.hpp.
HyperplaneContainer wns::NearestNeighbour< T, N >::hyperplanes [private] |
Definition at line 116 of file NearestNeighbour.hpp.
1.5.5