![]() |
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 with another range.
| FX::FXRanged::FXRanged | ( | const FXVec3d & | p | ) | [inline] |
Initialize with a single point.
Initialize with corner points.
Initialize with a single point.
| FX::FXRanged::FXRanged | ( | FXdouble | xl, | |
| FXdouble | xh, | |||
| FXdouble | yl, | |||
| FXdouble | yh, | |||
| FXdouble | zl, | |||
| FXdouble | zh | |||
| ) | [inline] |
Initialize with explicit values.
| FX::FXRanged::FXRanged | ( | const FXSphered & | sphere | ) |
Initialize box to fully contain the given bounding sphere.
Set value from corner points.
| FXRanged& FX::FXRanged::set | ( | FXdouble | xl, | |
| FXdouble | xh, | |||
| FXdouble | yl, | |||
| FXdouble | yh, | |||
| FXdouble | zl, | |||
| FXdouble | zh | |||
| ) | [inline] |
Set value from explicit values.
| 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.
| FXbool FX::FXRanged::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.
Save object to a stream.
Referenced by operator!=(), operator=(), and operator==().
Referenced by operator!=(), operator=(), and operator==().
|
|