Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXRanged.h>
Public Member Functions | |
FXRanged () | |
FXRanged (const FXRanged &bounds) | |
FXRanged (const FXVec3d &lo, const FXVec3d &hi) | |
FXRanged (FXdouble xlo, FXdouble xhi, FXdouble ylo, FXdouble yhi, FXdouble zlo, FXdouble zhi) | |
FXRanged (const FXSphered &sphere) | |
FXRanged & | operator= (const FXRanged &bounds) |
FXVec3d & | operator[] (FXint i) |
const FXVec3d & | operator[] (FXint i) const |
FXdouble | width () const |
FXdouble | height () const |
FXdouble | depth () const |
FXdouble | longest () const |
FXdouble | shortest () const |
FXdouble | diameter () const |
FXVec3d | diagonal () const |
FXVec3d | center () const |
FXbool | empty () const |
FXbool | contains (FXdouble x, FXdouble y, FXdouble z) const |
FXbool | contains (const FXVec3d &p) const |
FXbool | contains (const FXRanged &bounds) const |
FXbool | contains (const FXSphered &sphere) const |
FXRanged & | include (FXdouble x, FXdouble y, FXdouble z) |
FXRanged & | include (const FXVec3d &v) |
FXRanged & | include (const FXRanged &box) |
FXRanged & | include (const FXSphered &sphere) |
FXint | intersect (const FXVec4d &plane) const |
FXbool | intersect (const FXVec3d &u, const FXVec3d &v) |
FXVec3d | corner (FXint c) const |
Public Attributes | |
FXVec3d | lower |
FXVec3d | upper |
Friends | |
FXbool | overlap (const FXRanged &a, const FXRanged &b) |
FXRanged | unite (const FXRanged &a, const FXRanged &b) |
FXRanged | intersect (const FXRanged &a, const FXRanged &b) |
FXStream & | operator<< (FXStream &store, const FXRanged &bounds) |
FXStream & | operator>> (FXStream &store, FXRanged &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
|
|
Length of diagonal.
|
|
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 normalized plane ax+by+cz+w; returns -1,0,+1.
|
|
Intersect box with ray u-v.
|
|
Get corner number 0..7.
|
|
Test if bounds overlap.
|
|
Union of two boxes.
|
|
Intersection of two boxes.
|
|
Save object to a stream.
|
|
Load object from a stream.
|
Copyright © 1997-2005 Jeroen van der Zijp |