![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXRangef.h>
Public Member Functions | |
| FXRangef () | |
| FXRangef (const FXRangef &bounds) | |
| FXRangef (const FXVec3f &lo, const FXVec3f &hi) | |
| FXRangef (FXfloat xlo, FXfloat xhi, FXfloat ylo, FXfloat yhi, FXfloat zlo, FXfloat zhi) | |
| FXRangef (const FXSpheref &sphere) | |
| FXRangef & | operator= (const FXRangef &bounds) |
| FXVec3f & | operator[] (FXint i) |
| const FXVec3f & | operator[] (FXint i) const |
| FXfloat | width () const |
| FXfloat | height () const |
| FXfloat | depth () const |
| FXfloat | longest () const |
| FXfloat | shortest () const |
| FXfloat | diameter () const |
| FXVec3f | diagonal () const |
| FXVec3f | center () const |
| FXbool | empty () const |
| FXbool | contains (FXfloat x, FXfloat y, FXfloat z) const |
| FXbool | contains (const FXVec3f &p) const |
| FXbool | contains (const FXRangef &bounds) const |
| FXbool | contains (const FXSpheref &sphere) const |
| FXRangef & | include (FXfloat x, FXfloat y, FXfloat z) |
| FXRangef & | include (const FXVec3f &v) |
| FXRangef & | include (const FXRangef &box) |
| FXRangef & | include (const FXSpheref &sphere) |
| FXint | intersect (const FXVec4f &plane) const |
| FXbool | intersect (const FXVec3f &u, const FXVec3f &v) |
| FXVec3f | corner (FXint c) const |
Public Attributes | |
| FXVec3f | lower |
| FXVec3f | upper |
Friends | |
| FXbool | overlap (const FXRangef &a, const FXRangef &b) |
| FXRangef | unite (const FXRangef &a, const FXRangef &b) |
| FXRangef | intersect (const FXRangef &a, const FXRangef &b) |
| FXStream & | operator<< (FXStream &store, const FXRangef &bounds) |
| FXStream & | operator>> (FXStream &store, FXRangef &bounds) |
|
|
Default constructor.
|
|
|
Copy constructor.
|
|
||||||||||||
|
Initialize from two vectors.
|
|
||||||||||||||||||||||||||||
|
Initialize from six numbers.
|
|
|
Initialize box to fully contain the given bounding sphere.
|
|
|
Assignment.
|
|
|
Indexing with 0..1.
|
|
|
Indexing with 0..1.
|
|
|
Width of box.
|
|
|
Height of box.
|
|
|
Depth of box.
|
|
|
Longest side.
|
|
|
shortest side
|
|
|
Compute diagonal.
|
|
|
Get center of box.
|
|
|
Test if empty.
|
|
||||||||||||||||
|
Test if box contains point x,y,z.
|
|
|
Test if box contains point p.
|
|
|
Test if box properly contains another box.
|
|
|
Test if box properly contains sphere.
|
|
||||||||||||||||
|
Include point.
|
|
|
Include point.
|
|
|
Include given range into box.
|
|
|
Include given sphere into this box.
|
|
||||||||||||
|
Intersect box with ray u-v.
|
|
|
Get corner number 0..7.
|
|
||||||||||||
|
Test if boxes a and b overlap.
|
|
||||||||||||
|
Union of two boxes.
|
|
||||||||||||
|
Intersection of two boxes.
|
|
||||||||||||
|
Save object to a stream.
|
|
||||||||||||
|
Load object from a stream.
|
|
|