![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXRanged.h>
| FX::FXRanged::FXRanged | ( | ) | [inline] |
Default constructor.
| FX::FXRanged::FXRanged | ( | const FXRanged & | bounds | ) | [inline] |
Initialize from another range.
Initialize from two vectors.
| FX::FXRanged::FXRanged | ( | FXdouble | xlo, | |
| FXdouble | xhi, | |||
| FXdouble | ylo, | |||
| FXdouble | yhi, | |||
| FXdouble | zlo, | |||
| FXdouble | zhi | |||
| ) | [inline] |
Initialize from six numbers.
| FX::FXRanged::FXRanged | ( | const FXSphered & | sphere | ) |
Initialize box to fully contain the given bounding sphere.
| bool FX::FXRanged::operator== | ( | const FXRanged & | r | ) | const [inline] |
| FXdouble FX::FXRanged::width | ( | ) | const [inline] |
Width of box.
| FXdouble FX::FXRanged::height | ( | ) | const [inline] |
Height of box.
| FXdouble FX::FXRanged::depth | ( | ) | const [inline] |
Depth of box.
| FXdouble FX::FXRanged::longest | ( | ) | const |
Longest side.
| FXdouble FX::FXRanged::shortest | ( | ) | const |
shortest side
| FXdouble FX::FXRanged::diameter | ( | ) | const |
Length of diagonal.
| FXdouble FX::FXRanged::radius | ( | ) | const |
Get radius of box.
| FXVec3d FX::FXRanged::diagonal | ( | ) | const |
Compute diagonal.
| FXVec3d FX::FXRanged::center | ( | ) | const |
Get center of box.
| bool FX::FXRanged::empty | ( | ) | const |
Test if empty.
Test if box contains point x,y,z.
| bool FX::FXRanged::contains | ( | const FXVec3d & | p | ) | const |
Test if box contains point p.
| bool FX::FXRanged::contains | ( | const FXRanged & | bounds | ) | const |
Test if box properly contains another box.
| bool FX::FXRanged::contains | ( | const FXSphered & | sphere | ) | const |
Test if box properly contains sphere.
Intersect box with normalized plane ax+by+cz+w; returns -1,0,+1.
Save object to a stream.
Referenced by operator!=(), operator=(), and operator==().
Referenced by operator!=(), operator=(), and operator==().
|
|