Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXSphered.h>
Public Member Functions | |
FXSphered () | |
FXSphered (const FXSphered &sphere) | |
FXSphered (const FXVec3d &cen, FXdouble rad=0.0) | |
FXSphered (FXdouble x, FXdouble y, FXdouble z, FXdouble rad=0.0) | |
FXSphered (const FXRanged &bounds) | |
FXSphered & | operator= (const FXSphered &sphere) |
FXdouble | diameter () const |
FXbool | empty () const |
FXbool | contains (FXdouble x, FXdouble y, FXdouble z) const |
FXbool | contains (const FXVec3d &p) const |
FXbool | contains (const FXRanged &box) const |
FXbool | contains (const FXSphered &sphere) const |
FXSphered & | include (FXdouble x, FXdouble y, FXdouble z) |
FXSphered & | include (const FXVec3d &p) |
FXSphered & | include (const FXRanged &box) |
FXSphered & | include (const FXSphered &sphere) |
FXint | intersect (const FXVec4d &plane) const |
FXbool | intersect (const FXVec3d &u, const FXVec3d &v) const |
Public Attributes | |
FXVec3d | center |
FXdouble | radius |
Friends | |
FXbool | overlap (const FXRanged &a, const FXSphered &b) |
FXbool | overlap (const FXSphered &a, const FXRanged &b) |
FXbool | overlap (const FXSphered &a, const FXSphered &b) |
FXStream & | operator<< (FXStream &store, const FXSphered &sphere) |
FXStream & | operator>> (FXStream &store, FXSphered &sphere) |
|
Default constructor.
|
|
Copy constructor.
|
|
Initialize from center and radius.
|
|
Initialize from center and radius.
|
|
Initialize sphere to fully contain the given bounding box.
|
|
Assignment.
|
|
Diameter of sphere.
|
|
Test if empty.
|
|
Test if sphere contains point x,y,z.
|
|
Test if sphere contains point p.
|
|
Test if sphere contains another box.
|
|
Test if sphere contains another sphere.
|
|
Include point.
|
|
Include point.
|
|
Include given range into this one.
|
|
Include given sphere into this one.
|
|
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.
|
|
Test if spheres overlap.
|
|
Save object to a stream.
|
|
Load object from a stream.
|
Copyright © 1997-2005 Jeroen van der Zijp |