Class Index | File Index

Classes


Class pv.Quadtree.Node

A node in a quadtree.
Defined in: Quadtree.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Constructs a new node.
Field Summary
Field Attributes Field Name and Description
 
c2
The child node for the second quadrant, if any.
 
c3
The child node for the third quadrant, if any.
 
c4
The child node for the fourth quadrant, if any.
 
True if this node is a leaf node; i.e.
 
p
The particle associated with this node, if any.
Class Detail
pv.Quadtree.Node()
Constructs a new node.
See:
pv.Quadtree
Field Detail
{pv.Quadtree.Node} c2
The child node for the second quadrant, if any.

{pv.Quadtree.Node} c3
The child node for the third quadrant, if any.

{pv.Quadtree.Node} c4
The child node for the fourth quadrant, if any.

{boolean} leaf
True if this node is a leaf node; i.e., it has no children. Note that both leaf nodes and non-leaf (internal) nodes may have associated particles. If this is a non-leaf node, then at least one of #c1, #c2, #c3 or #c4 is guaranteed to be non-null.

{pv.Particle} p
The particle associated with this node, if any.

Documentation generated by JsDoc Toolkit 2.3.2 on Fri May 28 2010 10:13:29 GMT-0700 (PDT)