OpenTTD Source: src/town_kdtree.h File Reference

OpenTTD Source 14.0-RC3

Typedefs | Functions | Variables
town_kdtree.h File Reference
`#include "core/kdtree.hpp"`
`#include "town.h"`

Go to the source code of this file.

## Typedefs
typedef Kdtree< TownID, decltype(&Kdtree_TownXYFunc), uint16_t, int > | TownKdtree

## Functions
uint16_t | Kdtree_TownXYFunc (TownID tid, int dim)

## Variables
TownKdtree | _town_kdtree
TownKdtree | _town_local_authority_kdtree

## Detailed Description

Declarations for accessing the k-d tree of towns

Definition in file town_kdtree.h.