The goog.structs.QuadTree.Node Class

goog.structs.QuadTree.Node(x, y, w, h, opt_parent)

Constructs a new quad tree node.

x {number}
X-coordiate of node.
y {number}
Y-coordinate of node.
w {number}
Width of node.
h {number}
Height of node.
opt_parent {goog.structs.QuadTree.Node=}
Optional parent node.

.h {number}

The height of the node.

.ne {goog.structs.QuadTree.Node?}

The child node in the North-East quadrant.

.nodeType {goog.structs.QuadTree.NodeType}

The node's type.

.nw {goog.structs.QuadTree.Node?}

The child node in the North-West quadrant.

.parent {goog.structs.QuadTree.Node?}

The parent node.

.point {goog.structs.QuadTree.Point?}

The point for the node, if it is a leaf node.

.se {goog.structs.QuadTree.Node?}

The child node in the South-East quadrant.

.sw {goog.structs.QuadTree.Node?}

The child node in the South-West quadrant.

.w {number}

The width of the node.

.x {number}

The x-coordinate of the node.

.y {number}

The y-coordinate of the node.