![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXSpheref.h>
FX::FXSpheref::FXSpheref | ( | ) | [inline] |
Default constructor; value is not initialized.
FX::FXSpheref::FXSpheref | ( | const FXSpheref & | sphere | ) | [inline] |
Copy constructor.
Initialize from center and radius.
Initialize from center and radius.
FX::FXSpheref::FXSpheref | ( | const FXRangef & | bounds | ) |
Initialize sphere to fully contain the given bounding box.
Set value from center and radius.
Set value from center and radius.
FXfloat FX::FXSpheref::diameter | ( | ) | const [inline] |
Diameter of sphere.
FXbool FX::FXSpheref::empty | ( | ) | const [inline] |
Test if empty.
Test if sphere contains point x,y,z.
Test if sphere properly contains another box.
Test if sphere properly contains another sphere.
Expand radius to include point.
Expand radius to include sphere.
Intersect sphere with normalized plane ax+by+cz+w; returns -1,0,+1.
Intersect sphere with ray u-v.
Test if box overlaps with sphere.
Test if sphere overlaps with box.
Save object to a stream.
Referenced by operator!=(), operator=(), and operator==().
Referenced by operator!=(), operator=(), and operator==().
![]() |