5 Struct QUADTREE_NODE
gullradriel edited this page 2026-10-09 00:55:18 +02:00

QUADTREE_NODE

Module: TREE: various tree with generic support

structure of a quad tree node

#include "n_trees.h"

Public Attributes

Name
COORD_VALUE y
Y coordinate.
COORD_VALUE x
X coordinate.
struct QUADTREE_NODE * sw
South-West child.
struct QUADTREE_NODE * se
South-East child.
POINT2D point
X,Y point.
struct QUADTREE_NODE * nw
North-West child.
struct QUADTREE_NODE * ne
North-East child.
void * data_ptr
Pointer to data, can be NULL.

Public Attributes Documentation

variable y

COORD_VALUE y;

Y coordinate.

variable x

COORD_VALUE x;

X coordinate.

variable sw

struct QUADTREE_NODE * sw;

South-West child.

variable se

struct QUADTREE_NODE * se;

South-East child.

variable point

POINT2D point;

X,Y point.

variable nw

struct QUADTREE_NODE * nw;

North-West child.

variable ne

struct QUADTREE_NODE * ne;

North-East child.

variable data_ptr

void * data_ptr;

Pointer to data, can be NULL.