Public Member Functions | |
| void | setCenterAndRadius (const QVector2D &pos, float radius) |
| void | setChild (unsigned index, QuadTreeNode *node) |
| void | setParent (QuadTreeNode *parent) |
| bool | addPoint (const Point *obj, const QuadTreeParams ¶ms) |
| void | remPoint (const Point *obj, const QuadTreeParams ¶ms) |
| QVector2D | gravityFor (const Point &m, const QuadTreeParams ¶ms) const |
| bool | leaf () const |
| void | reset () |
| bool | contain (const Point *o) const |
| const QVector2D & | getCenter () const |
| QVector2D | CoM () const |
| const qreal & | getRadius () const |
| const qreal & | mass () const |
| const bool & | downOccupied () const |
| void | debug (QPainter *p) const |
Definition at line 21 of file QuadTreeNode.h.