FX::FXRangef Class Reference

#include <FXRangef.h>

List of all members.


Detailed Description

Bounds.

Definition at line 35 of file FXRangef.h.

Public Member Functions

 FXRangef ()
 FXRangef (const FXRangef &bounds)
 FXRangef (const FXVec3f &lo, const FXVec3f &hi)
 FXRangef (FXfloat xlo, FXfloat xhi, FXfloat ylo, FXfloat yhi, FXfloat zlo, FXfloat zhi)
 FXRangef (const FXSpheref &sphere)
FXRangefoperator= (const FXRangef &bounds)
FXRangefset (const FXRangef &bounds)
FXRangefset (const FXVec3f &lo, const FXVec3f &hi)
FXRangefset (FXfloat xlo, FXfloat xhi, FXfloat ylo, FXfloat yhi, FXfloat zlo, FXfloat zhi)
FXVec3foperator[] (FXint i)
const FXVec3foperator[] (FXint i) const
bool operator== (const FXRangef &r) const
bool operator!= (const FXRangef &r) const
FXfloat width () const
FXfloat height () const
FXfloat depth () const
FXfloat longest () const
FXfloat shortest () const
FXfloat diameter () const
FXfloat radius () const
FXVec3f diagonal () const
FXVec3f center () const
bool empty () const
bool contains (FXfloat x, FXfloat y, FXfloat z) const
bool contains (const FXVec3f &p) const
bool contains (const FXRangef &bounds) const
bool contains (const FXSpheref &sphere) const
FXRangefinclude (FXfloat x, FXfloat y, FXfloat z)
FXRangefinclude (const FXVec3f &v)
FXRangefinclude (const FXRangef &box)
FXRangefinclude (const FXSpheref &sphere)
FXint intersect (const FXVec4f &plane) const
bool intersect (const FXVec3f &u, const FXVec3f &v)
FXVec3f corner (FXint c) const

Public Attributes

FXVec3f lower
FXVec3f upper

Friends

FXAPI bool overlap (const FXRangef &a, const FXRangef &b)
FXAPI FXRangef unite (const FXRangef &a, const FXRangef &b)
FXAPI FXRangef intersect (const FXRangef &a, const FXRangef &b)
FXAPI FXStreamoperator<< (FXStream &store, const FXRangef &bounds)
FXAPI FXStreamoperator>> (FXStream &store, FXRangef &bounds)


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:35:48 2009 for TnFOX by doxygen v1.4.7