AURobotServers
4
|
#include <LEL_quadtree.h>
Public Member Functions | |
QuadTreePoint * | addPoint (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 |
QuadTreeLeaf * | dl |
QuadTreeLeaf * | dr |
float | height |
int | leafCount |
float | minDist |
QuadTreeNode * | parent |
int | quadrant |
QuadTreeLeaf * | ul |
QuadTreeLeaf * | ur |
float | width |
QuadTreeNode::QuadTreeNode | ( | float | cX, |
float | cY, | ||
float | w, | ||
float | h, | ||
QuadTreeNode * | parent, | ||
int | quadrant, | ||
float | minDist | ||
) |
QuadTreePoint * QuadTreeNode::addPoint | ( | float | x, |
float | y, | ||
float | weight | ||
) |
References addPoint().
Referenced by addPoint(), and removePoint().
|
inline |
References QuadTreePoint::weight, QuadTreePoint::x, and QuadTreePoint::y.
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 |