![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXSphered.h>
FX::FXSphered::FXSphered | ( | ) | [inline] |
Default constructor.
FX::FXSphered::FXSphered | ( | const FXSphered & | sphere | ) | [inline] |
Copy constructor.
Initialize from center and radius.
Initialize from center and radius.
FX::FXSphered::FXSphered | ( | const FXRanged & | bounds | ) |
Initialize sphere to fully contain the given bounding box.
Set value from center and radius.
Set value from center and radius.
bool FX::FXSphered::operator== | ( | const FXSphered & | s | ) | const [inline] |
bool FX::FXSphered::operator!= | ( | const FXSphered & | s | ) | const [inline] |
FXdouble FX::FXSphered::diameter | ( | ) | const [inline] |
Diameter of sphere.
bool FX::FXSphered::empty | ( | ) | const [inline] |
Test if empty.
Test if sphere contains point x,y,z.
bool FX::FXSphered::contains | ( | const FXVec3d & | p | ) | const |
Test if sphere contains point p.
bool FX::FXSphered::contains | ( | const FXRanged & | box | ) | const |
Test if sphere contains another box.
bool FX::FXSphered::contains | ( | const FXSphered & | sphere | ) | const |
Test if sphere 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.
Save object to a stream.
Referenced by operator!=(), operator=(), and operator==().
Referenced by operator!=(), operator=(), and operator==().
![]() |