Go to the documentation of this file. 1 #ifndef GEOLIB_OCTREENODE_H_
2 #define GEOLIB_OCTREENODE_H_
28 bool intersect(
const Ray& r,
float t0,
float t1,
double& distance,
const Vector3& offset)
const;
void add(const Vector3 &p)
OctreeNode * children_[8]
void raytrace(const Vector3 &o, const Vector3 &dir, float t0, float t1, const Vector3 &offset)
OctreeNode * clone(Octree *tree) const
void getCubes(std::vector< Box > &cubes, const Vector3 &offset) const
bool intersect(const Ray &r, float t0, float t1, double &distance, const Vector3 &offset) const
OctreeNode(double size, Octree *octree)
bool contains(const Vector3 &p) const