# Cinder

# cinder::CompareNode< NodeData > Struct Template Reference

`#include <KdTree.h>`

List of all members.

## Public Member Functions
| CompareNode (int a)
bool | operator() (const std::pair< const NodeData *, uint32_t > &d1, const std::pair< const NodeData *, uint32_t > &d2) const
## Public Attributes
int | axis

### template<typename NodeData>
struct cinder::CompareNode< NodeData >

## Constructor & Destructor Documentation

template<typename NodeData >

cinder::CompareNode< NodeData >::CompareNode | ( | int | a | ) |

## Member Function Documentation

template<typename NodeData >

bool cinder::CompareNode< NodeData >::operator() | ( | const std::pair< const NodeData *, uint32_t > & | d1,
|  | const std::pair< const NodeData *, uint32_t > & | d2 |
| ) |  |  | const

## Member Data Documentation

template<typename NodeData >

int cinder::CompareNode< NodeData >::axis

The documentation for this struct was generated from the following file:

- include/cinder/KdTree.h