OpenTTD Source: Kdtree< T, TxyFunc, CoordT, DistT >::node Struct Reference

OpenTTD Source 12.0-beta1

Public Member Functions | Data Fields
Kdtree< T, TxyFunc, CoordT, DistT >::node Struct Reference

Type of a node in the tree. More...

## Public Member Functions
| node (T element)

## Data Fields
T | element
| Element stored at node.
size_t | left
| Index of node to the left, INVALID_NODE if none.
size_t | right
| Index of node to the right, INVALID_NODE if none.

## Detailed Description

### template<typename T, typename TxyFunc, typename CoordT, typename DistT>
struct Kdtree< T, TxyFunc, CoordT, DistT >::node

Type of a node in the tree.

Definition at line 39 of file kdtree.hpp.

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

- src/core/kdtree.hpp