AURobotServers  4
Public Member Functions | Public Attributes | List of all members
QuadTreeNode Class Reference

#include <LEL_quadtree.h>

Public Member Functions

QuadTreePointaddPoint (float x, float y, float weight)
 
void addPoint (QuadTreePoint *point)
 
 QuadTreeNode (float cX, float cY, float w, float h, QuadTreeNode *parent, int quadrant, float minDist)
 

Public Attributes

float centerX
 
float centerY
 
QuadTreeLeafdl
 
QuadTreeLeafdr
 
float height
 
int leafCount
 
float minDist
 
QuadTreeNodeparent
 
int quadrant
 
QuadTreeLeaful
 
QuadTreeLeafur
 
float width
 

Constructor & Destructor Documentation

QuadTreeNode::QuadTreeNode ( float  cX,
float  cY,
float  w,
float  h,
QuadTreeNode parent,
int  quadrant,
float  minDist 
)

Member Function Documentation

QuadTreePoint * QuadTreeNode::addPoint ( float  x,
float  y,
float  weight 
)

References addPoint().

Referenced by addPoint(), and removePoint().

void QuadTreeNode::addPoint ( QuadTreePoint point)
inline

Member Data Documentation

float QuadTreeNode::centerX
float QuadTreeNode::centerY
QuadTreeLeaf * QuadTreeNode::dl

Referenced by checkNode(), and removePoint().

QuadTreeLeaf * QuadTreeNode::dr

Referenced by checkNode(), and removePoint().

float QuadTreeNode::height
int QuadTreeNode::leafCount

Referenced by removePoint().

float QuadTreeNode::minDist
QuadTreeNode* QuadTreeNode::parent

Referenced by removePoint().

int QuadTreeNode::quadrant

Referenced by removePoint().

QuadTreeLeaf* QuadTreeNode::ul

Referenced by checkNode(), and removePoint().

QuadTreeLeaf * QuadTreeNode::ur

Referenced by checkNode(), and removePoint().

float QuadTreeNode::width

The documentation for this class was generated from the following files: