3 #include "boundingbox.h"
27 double nwfXIn,
double nwfYIn,
double nwfZIn,
28 double sebXIn,
double sebYIn,
double sebZIn);
77 std::vector<Particle*> nodeParticles;
std::vector< Particle * > * getPossibleColliders(std::vector< Particle * > *colliders, Particle *particle)
Returns a vector of Particles that may be colliding with a given Particle.
Definition: octree.cpp:169
void split()
Splits the Octree into 8 octants.
Definition: octree.cpp:46
void clear()
Clears the Octree.
Definition: octree.cpp:34
int getIndex(Particle *particle)
Gets the index of a given Particle within a Octree.
Definition: octree.cpp:62
The Octree data structure used in OctreeAlgorithm.
Definition: octree.h:10
Octree(int levelIn, double nwfXIn, double nwfYIn, double nwfZIn, double sebXIn, double sebYIn, double sebZIn)
Constructs a Octree object.
Definition: octree.cpp:4
Definition: particle.h:12
void insertToTree(Particle *particle)
Inserts a given Particle into a Octree.
Definition: octree.cpp:129