Function AABBTree.Move

Move (Key key, Bounds bounds)

Moves a node to a new position.

Public
void Move (

Key

key

Key to the node to move

Bounds

bounds

New bounds of the node

)

Moves a node to a new position.

This will update the tree structure to account for the new bounding box. This is equivalent to removing the node and adding it again with the new bounds, but it preserves the key value.