FX::FXSpheref Class Reference

#include <FXSpheref.h>

List of all members.


Detailed Description

Spherical bounds.

Definition at line 35 of file FXSpheref.h.

Public Member Functions

 FXSpheref ()
 FXSpheref (const FXSpheref &sphere)
 FXSpheref (const FXVec3f &cen, FXfloat rad=0.0f)
 FXSpheref (FXfloat x, FXfloat y, FXfloat z, FXfloat rad=0.0f)
 FXSpheref (const FXRangef &bounds)
FXSpherefoperator= (const FXSpheref &sphere)
FXSpherefset (const FXSpheref &sphere)
FXSpherefset (const FXVec3f &cen, FXfloat rad)
FXSpherefset (FXfloat x, FXfloat y, FXfloat z, FXfloat rad)
bool operator== (const FXSpheref &s) const
bool operator!= (const FXSpheref &s) const
FXfloat diameter () const
bool empty () const
bool contains (FXfloat x, FXfloat y, FXfloat z) const
bool contains (const FXVec3f &p) const
bool contains (const FXRangef &box) const
bool contains (const FXSpheref &sphere) const
FXSpherefinclude (FXfloat x, FXfloat y, FXfloat z)
FXSpherefinclude (const FXVec3f &p)
FXSpherefincludeInRadius (FXfloat x, FXfloat y, FXfloat z)
FXSpherefincludeInRadius (const FXVec3f &p)
FXSpherefinclude (const FXRangef &box)
FXSpherefincludeInRadius (const FXRangef &box)
FXSpherefinclude (const FXSpheref &sphere)
FXSpherefincludeInRadius (const FXSpheref &sphere)
FXint intersect (const FXVec4f &plane) const
bool intersect (const FXVec3f &u, const FXVec3f &v) const

Public Attributes

FXVec3f center
FXfloat radius

Friends

FXAPI bool overlap (const FXRangef &a, const FXSpheref &b)
FXAPI bool overlap (const FXSpheref &a, const FXRangef &b)
FXAPI bool overlap (const FXSpheref &a, const FXSpheref &b)
FXAPI FXStreamoperator<< (FXStream &store, const FXSpheref &sphere)
FXAPI FXStreamoperator>> (FXStream &store, FXSpheref &sphere)


The documentation for this class was generated from the following file:
(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:36:21 2009 for TnFOX by doxygen v1.4.7