![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXRange.h>
Public Member Functions | |
| FXRange () | |
| FXRange (FXfloat xlo, FXfloat xhi, FXfloat ylo, FXfloat yhi, FXfloat zlo, FXfloat zhi) | |
| FXfloat | side (FXint i) const |
| FXfloat | width () const |
| FXfloat | height () const |
| FXfloat | depth () const |
| FXfloat | longest () const |
| FXfloat | shortest () const |
| FXbool | empty () const |
| FXbool | overlap (const FXRange &box) const |
| FXbool | contains (FXfloat x, FXfloat y, FXfloat z) const |
| FXfloat * | operator[] (FXint i) |
| const FXfloat * | operator[] (FXint i) const |
| FXRange & | include (const FXRange &box) |
| FXRange & | include (FXfloat x, FXfloat y, FXfloat z) |
| FXRange & | include (const FXVec3f &v) |
| FXRange & | clipTo (const FXRange &box) |
Friends | |
| void | boxCorners (FXVec3f *points, const FXRange &box) |
| FXbool | boxIntersect (const FXRange &box, const FXVec3f &u, const FXVec3f &v) |
| FXVec3f | boxCenter (const FXRange &box) |
| FXfloat | boxDiagonal (const FXRange &box) |
| FXStream & | operator<< (FXStream &store, const FXRange &box) |
| FXStream & | operator>> (FXStream &store, FXRange &box) |
|
|
Default constructor.
|
|
||||||||||||||||||||||||||||
|
Initialize.
|
|
|
Length of side i.
|
|
|
Width of box.
|
|
|
Height of box.
|
|
|
Depth of box.
|
|
|
Longest side.
|
|
|
shortest side
|
|
|
Test if empty.
|
|
|
Test if overlap.
|
|
||||||||||||||||
|
Test if box contains point x,y,z.
|
|
|
Indexing.
|
|
|
Indexing.
|
|
|
Include given range into box.
|
|
||||||||||||||||
|
Include point.
|
|
|
Include point.
|
|
|
Clip domain against another.
|
|
||||||||||||
|
Get corners of box.
|
|
||||||||||||||||
|
Ray intersection test.
|
|
|
Get center of box.
|
|
|
Compute diagonal.
|
|
||||||||||||
|
Save object to a stream.
|
|
||||||||||||
|
Load object from a stream.
|
|
|