![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXRangef.h>
| FX::FXRangef::FXRangef | ( | ) | [inline] |
Default constructor; value is not initialized.
| FX::FXRangef::FXRangef | ( | const FXRangef & | bounds | ) | [inline] |
Initialize with another range.
| FX::FXRangef::FXRangef | ( | const FXVec3f & | p | ) | [inline] |
Initialize with a single point.
Initialize with corner points.
| FX::FXRangef::FXRangef | ( | FXfloat | xl, | |
| FXfloat | xh, | |||
| FXfloat | yl, | |||
| FXfloat | yh, | |||
| FXfloat | zl, | |||
| FXfloat | zh | |||
| ) | [inline] |
Initialize with explicit values.
| FX::FXRangef::FXRangef | ( | const FXSpheref & | sphere | ) |
Initialize box to fully contain the given bounding sphere.
Set value from corner points.
| FXRangef& FX::FXRangef::set | ( | FXfloat | xl, | |
| FXfloat | xh, | |||
| FXfloat | yl, | |||
| FXfloat | yh, | |||
| FXfloat | zl, | |||
| FXfloat | zh | |||
| ) | [inline] |
Set value from explicit values.
| FXfloat FX::FXRangef::width | ( | ) | const [inline] |
Width of box.
| FXfloat FX::FXRangef::height | ( | ) | const [inline] |
Height of box.
| FXfloat FX::FXRangef::depth | ( | ) | const [inline] |
Depth of box.
| FXfloat FX::FXRangef::longest | ( | ) | const |
Longest side.
| FXfloat FX::FXRangef::shortest | ( | ) | const |
shortest side
| FXfloat FX::FXRangef::diameter | ( | ) | const |
Length of diagonal.
| FXfloat FX::FXRangef::radius | ( | ) | const |
Get radius of box.
| FXVec3f FX::FXRangef::diagonal | ( | ) | const |
Compute diagonal.
| FXVec3f FX::FXRangef::center | ( | ) | const |
Get center of box.
| FXbool FX::FXRangef::empty | ( | ) | const |
Test if empty.
Test if box contains point x,y,z.
Test if box properly contains another box.
Test if box properly contains sphere.
Intersect box with normalized plane ax+by+cz+w; returns -1,0,+1.
Referenced by operator!=(), operator=(), and operator==().
Referenced by operator!=(), operator=(), and operator==().
|
|