# Cinder

# cinder::NodeDataTraits< Vec2f > Struct Template Reference

`#include <KdTree.h>`

List of all members.

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

### template<>
struct cinder::NodeDataTraits< Vec2f >

## Member Function Documentation

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

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

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

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

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

- include/cinder/KdTree.h