G+Smo  24.08.0
Geometry + Simulation Modules
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gsKDTree< KeyType, ValueType > Class Template Reference

Detailed Description

template<class KeyType, class ValueType>
class gismo::gsKDTree< KeyType, ValueType >

An interface representing a kd-tree in some number of dimensions.

The tree can be constructed from a set of data, (key,value)-pairs, and then queried for membership and k-nearest neighbors.

Public Member Functions

void print (std::ostream &os) const
 Prints the object as a string.
 

Friends

std::ostream & operator<< (std::ostream &os, const gsKDTree &obj)
 Print (as string) operator.