GEL
2
GEL is a library for Geometry and Linear Algebra
|
#include <BoundingINode.h>
Inherits Geometry::BoundingNode< BoxType >.
Public Member Functions | |
BoundingINode (const BoxType &box, BoundingNode< BoxType > *_left, BoundingNode< BoxType > *_right) | |
bool | intersect (const CGLA::Vec3f &, const CGLA::Vec3f &, float &) const |
Find the surface intersection point. | |
void | intersect (Ray &r) const |
int | intersect_cnt (const CGLA::Vec3f &, const CGLA::Vec3f &) const |
Count number of intersections from a point in a given direction. | |
const BoundingNode< BoxType > * | get_left () const |
const BoundingNode< BoxType > * | get_right () const |
Interior node of bounding box tree. Contains pointers to left and right tree.