SpatialTree_Bounds

Description

abstract class Tinman.Terrain.Util.SpatialTree_Bounds<TBounds val>

Derived from

SpatialTree_Base abstract

Extended by

SpatialTree_Coords abstract

A generic tree data structure for storing spatial entities.

This abstract base class provides those members that depend on the type parameter for the spatial bounds type.

Public / Attributes

Root


public attribute Root → (get)

value : SpatialTreeNode<TBounds>

The root node.

Returns the root node of the tree.

Protected / Constructors

Spatial​Tree_​Bounds


protected constructor SpatialTree_Bounds → (2)

childCount in : int32

The tree child count.

bounds in : TBounds

The initial tree bounds.

Creates a new instance of SpatialTree_Bounds.

Protected / Methods

Tree​Node​Child


protected abstract method TreeNodeChild → (2)

node in : SpatialTreeNode<TBounds>

The tree node.

child in : int32

The child index.

returns → SpatialTreeNode<TBounds>

The child node.

Returns the child of the given tree node.

Protected / Attributes

bounds


protected attribute bounds → (TBounds)

The tree bounds.

node​Bounds


protected attribute nodeBounds → (TBounds [ ])

Tight nested bounding boxes per tree node.