The spica renderer
|
Public Member Functions | |
Bounds3_ (const Point3_< T > &posMin, const Point3_< T > &posMax) | |
Bounds3_ (const Bounds3_< T > &b) | |
Bounds3_< T > & | operator= (const Bounds3_< T > &b) |
bool | operator== (const Bounds3_< T > &b) const |
bool | operator!= (const Bounds3_< T > &b) const |
int | maximumExtent () const |
Maximum extent: return 0 -> x, 1 -> y, 2 -> z. More... | |
bool | intersect (const Ray &ray, double *tNear=nullptr, double *tFar=nullptr) const |
Intersection test. More... | |
void | merge (const Bounds3_< T > &b) |
void | merge (const Point3_< T > &p) |
bool | inside (const Point3_< T > &p) const |
T | area () const |
Point3_< T > | posMin () const |
Point3_< T > | posMax () const |
Static Public Member Functions | |
static Bounds3_< T > | merge (const Bounds3_< T > &b1, const Bounds3_< T > &b2) |
bool spica::Bounds3_< T >::intersect | ( | const Ray & | ray, |
double * | tNear = nullptr , |
||
double * | tFar = nullptr |
||
) | const |
Intersection test.
int spica::Bounds3_< T >::maximumExtent | ( | ) | const |
Maximum extent: return 0 -> x, 1 -> y, 2 -> z.