# Cinder

# cinder::NodeDataTraits< NodeData > Struct Template Reference

`#include <KdTree.h>`

List of all members.

## Static Public Member Functions
static float | getAxis (const NodeData &data, int axis)
static float | getAxis0 (const NodeData &data)
static float | getAxis1 (const NodeData &data)
static float | getAxis2 (const NodeData &data)
static float | distanceSquared (const NodeData &data, float k[3])

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

## Member Function Documentation

template<typename NodeData >

static float cinder::NodeDataTraits< NodeData >::getAxis | ( | const NodeData & | data,
|  | int | axis |
| ) |  |  | `[static]`

template<typename NodeData >

static float cinder::NodeDataTraits< NodeData >::getAxis0 | ( | const NodeData & | data | ) | `[static]`

template<typename NodeData >

static float cinder::NodeDataTraits< NodeData >::getAxis1 | ( | const NodeData & | data | ) | `[static]`

template<typename NodeData >

static float cinder::NodeDataTraits< NodeData >::getAxis2 | ( | const NodeData & | data | ) | `[static]`

template<typename NodeData >

static float cinder::NodeDataTraits< NodeData >::distanceSquared | ( | const NodeData & | data,
|  | float | k[3] |
| ) |  |  | `[static]`

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

- include/cinder/KdTree.h