template<class Traits>
eckit::KDTreeMemory class

Base classes

template<class Traits>
class KDTreeX<TT<Traits, KDMemory>>

Derived classes

template<class Traits>
class atlas::interpolation::method::Point2KdTree
template<class Traits>
class atlas::interpolation::method::Point2KdTree
template<class Traits>
class atlas::interpolation::method::PointKdTree
template<class Traits>
class atlas::interpolation::method::PointKdTree
template<class Traits>
class atlas::interpolation::method::Point2KdTree
template<class Traits>
class atlas::interpolation::method::PointKdTree

Public types

using KDTree = KDTreeX<TT<Traits, KDMemory>>
using Value = KDTree::Value
using Point = KDTree::Point
using Payload = KDTree::Payload
using Node = KDNode<Traits>
using SPTreeType = SPTree<Traits, Node>
using Alloc = Traits::Alloc
using Ptr = Alloc::Ptr
using Ptr = Alloc::Ptr
using ID = Alloc::Ptr
using ID = Alloc::Ptr
using Metadata = SPMetadata<Traits>
using Metadata = SPMetadata<Traits>
using PointType = Point
using PointType = Point
using PayloadType = Payload
using PayloadType = Payload
using NodeList = Node::NodeList
using NodeList = Node::NodeList
using NodeInfo = SPNodeInfo<Traits, KDNode<Traits>>
using NodeInfo = SPNodeInfo<Traits, KDNode<Traits>>
using iterator = SPIterator<Traits, KDNode<Traits>>
using iterator = SPIterator<Traits, KDNode<Traits>>
using value_type = std::pair<Point, Payload>
using value_type = std::pair<Point, Payload>

Constructors, destructors, conversion operators

KDTreeMemory()

Public functions

void build(ITER begin, ITER end)
void build(Container& c)
void build(ITER begin, ITER end)
void build(Container& c)
void insert(const Value& value)
void insert(const Value& value)
void setMetadata(const Point& offset, const Point& scale)
void setMetadata(const Point& offset, const Point& scale)
auto nodeByID(ID id) -> NodeInfo
auto nodeByID(ID id) -> NodeInfo
void getMetadata(Point& offset, Point& scale)
void getMetadata(Point& offset, Point& scale)
auto nearestNeighbour(const Point& p) -> NodeInfo
auto nearestNeighbour(const Point& p) -> NodeInfo
auto findInSphere(const Point& p, double radius) -> NodeList
auto findInSphere(const Point& p, double radius) -> NodeList
auto kNearestNeighbours(const Point& p, size_t k) -> NodeList
auto kNearestNeighbours(const Point& p, size_t k) -> NodeList
auto nearestNeighbourBruteForce(const Point& p) -> NodeInfo
auto nearestNeighbourBruteForce(const Point& p) -> NodeInfo
auto findInSphereBruteForce(const Point& p, double radius) -> NodeList
auto findInSphereBruteForce(const Point& p, double radius) -> NodeList
auto kNearestNeighboursBruteForce(const Point& p, size_t k) -> NodeList
auto kNearestNeighboursBruteForce(const Point& p, size_t k) -> NodeList
void visit(Visitor& v)
void visit(Visitor& v)
void statsReset()
void statsReset()
void statsPrint(std::ostream& o, bool fancy) const
void statsPrint(std::ostream& o, bool fancy) const
void print(std::ostream& o) const
void print(std::ostream& o) const
auto begin() -> iterator
auto begin() -> iterator
auto end() -> iterator
auto end() -> iterator
auto empty() const -> bool
auto empty() const -> bool
auto size() const -> size_t
auto size() const -> size_t

Public variables

Ptr root_
Ptr root_
Metadata meta_
Metadata meta_

Typedef documentation

template<class Traits>
typedef Alloc::Ptr eckit::KDTreeMemory<Traits>::Ptr

template<class Traits>
typedef Alloc::Ptr eckit::KDTreeMemory<Traits>::Ptr

template<class Traits>
typedef Alloc::Ptr eckit::KDTreeMemory<Traits>::ID

template<class Traits>
typedef Alloc::Ptr eckit::KDTreeMemory<Traits>::ID

template<class Traits>
typedef SPMetadata<Traits> eckit::KDTreeMemory<Traits>::Metadata

template<class Traits>
typedef SPMetadata<Traits> eckit::KDTreeMemory<Traits>::Metadata

template<class Traits>
typedef Point eckit::KDTreeMemory<Traits>::PointType

template<class Traits>
typedef Point eckit::KDTreeMemory<Traits>::PointType

template<class Traits>
typedef Payload eckit::KDTreeMemory<Traits>::PayloadType

template<class Traits>
typedef Payload eckit::KDTreeMemory<Traits>::PayloadType

template<class Traits>
typedef Node::NodeList eckit::KDTreeMemory<Traits>::NodeList

template<class Traits>
typedef Node::NodeList eckit::KDTreeMemory<Traits>::NodeList

template<class Traits>
typedef SPNodeInfo<Traits, KDNode<Traits>> eckit::KDTreeMemory<Traits>::NodeInfo

template<class Traits>
typedef SPNodeInfo<Traits, KDNode<Traits>> eckit::KDTreeMemory<Traits>::NodeInfo

template<class Traits>
typedef SPIterator<Traits, KDNode<Traits>> eckit::KDTreeMemory<Traits>::iterator

template<class Traits>
typedef SPIterator<Traits, KDNode<Traits>> eckit::KDTreeMemory<Traits>::iterator

template<class Traits>
typedef std::pair<Point, Payload> eckit::KDTreeMemory<Traits>::value_type

template<class Traits>
typedef std::pair<Point, Payload> eckit::KDTreeMemory<Traits>::value_type

Function documentation

template<class Traits>
void eckit::KDTreeMemory<Traits>::setMetadata(const Point& offset, const Point& scale)

template<class Traits>
void eckit::KDTreeMemory<Traits>::setMetadata(const Point& offset, const Point& scale)

template<class Traits>
NodeInfo eckit::KDTreeMemory<Traits>::nodeByID(ID id)

template<class Traits>
NodeInfo eckit::KDTreeMemory<Traits>::nodeByID(ID id)

template<class Traits>
void eckit::KDTreeMemory<Traits>::getMetadata(Point& offset, Point& scale)

template<class Traits>
void eckit::KDTreeMemory<Traits>::getMetadata(Point& offset, Point& scale)

template<class Traits>
NodeInfo eckit::KDTreeMemory<Traits>::nearestNeighbour(const Point& p)

template<class Traits>
NodeInfo eckit::KDTreeMemory<Traits>::nearestNeighbour(const Point& p)

template<class Traits>
NodeList eckit::KDTreeMemory<Traits>::findInSphere(const Point& p, double radius)

template<class Traits>
NodeList eckit::KDTreeMemory<Traits>::findInSphere(const Point& p, double radius)

template<class Traits>
NodeList eckit::KDTreeMemory<Traits>::kNearestNeighbours(const Point& p, size_t k)

template<class Traits>
NodeList eckit::KDTreeMemory<Traits>::kNearestNeighbours(const Point& p, size_t k)

template<class Traits>
NodeInfo eckit::KDTreeMemory<Traits>::nearestNeighbourBruteForce(const Point& p)

template<class Traits>
NodeInfo eckit::KDTreeMemory<Traits>::nearestNeighbourBruteForce(const Point& p)

template<class Traits>
NodeList eckit::KDTreeMemory<Traits>::findInSphereBruteForce(const Point& p, double radius)

template<class Traits>
NodeList eckit::KDTreeMemory<Traits>::findInSphereBruteForce(const Point& p, double radius)

template<class Traits>
NodeList eckit::KDTreeMemory<Traits>::kNearestNeighboursBruteForce(const Point& p, size_t k)

template<class Traits>
NodeList eckit::KDTreeMemory<Traits>::kNearestNeighboursBruteForce(const Point& p, size_t k)

template<class Traits>
void eckit::KDTreeMemory<Traits>::visit(Visitor& v)

template<class Traits>
void eckit::KDTreeMemory<Traits>::visit(Visitor& v)

template<class Traits>
void eckit::KDTreeMemory<Traits>::statsReset()

template<class Traits>
void eckit::KDTreeMemory<Traits>::statsReset()

template<class Traits>
void eckit::KDTreeMemory<Traits>::statsPrint(std::ostream& o, bool fancy) const

template<class Traits>
void eckit::KDTreeMemory<Traits>::statsPrint(std::ostream& o, bool fancy) const

template<class Traits>
void eckit::KDTreeMemory<Traits>::print(std::ostream& o) const

template<class Traits>
void eckit::KDTreeMemory<Traits>::print(std::ostream& o) const

template<class Traits>
iterator eckit::KDTreeMemory<Traits>::begin()

template<class Traits>
iterator eckit::KDTreeMemory<Traits>::begin()

template<class Traits>
iterator eckit::KDTreeMemory<Traits>::end()

template<class Traits>
iterator eckit::KDTreeMemory<Traits>::end()

template<class Traits>
bool eckit::KDTreeMemory<Traits>::empty() const

template<class Traits>
bool eckit::KDTreeMemory<Traits>::empty() const

template<class Traits>
size_t eckit::KDTreeMemory<Traits>::size() const

template<class Traits>
size_t eckit::KDTreeMemory<Traits>::size() const

Variable documentation

template<class Traits>
Ptr eckit::KDTreeMemory<Traits>::root_

template<class Traits>
Ptr eckit::KDTreeMemory<Traits>::root_

template<class Traits>
Metadata eckit::KDTreeMemory<Traits>::meta_

template<class Traits>
Metadata eckit::KDTreeMemory<Traits>::meta_

This website is beyond its original expiry date and the content may be out of date. The site owner has been notified and may choose to extend the expiry date and remove this banner. If you have any questions about this, please visit our support portal.