Range
Public Methods
-
FXRange()
- Default constructor
-
FXRange(FXfloat xlo, FXfloat xhi, FXfloat ylo, FXfloat yhi, FXfloat zlo, FXfloat zhi)
- Initialize
-
FXfloat side(FXint i) const
- Length of side i
-
FXfloat width() const
- Width of box
-
FXfloat height() const
- Height of box
-
FXfloat depth() const
- Depth of box
-
FXfloat longest() const
- Longest side
-
FXfloat shortest() const
- shortest side
-
FXbool empty() const
- Test if empty
-
FXbool overlap(const FXRange& box) const
- Test if overlap
-
FXbool contains(FXfloat x, FXfloat y, FXfloat z) const
- Test if box contains point x,y,z
-
FXfloat* operator[](FXint i)
- Indexing
-
const FXfloat* operator[](FXint i) const
- Indexing
-
FXRange& include(const FXRange& box)
- Include given range into box
-
FXRange& include(FXfloat x, FXfloat y, FXfloat z)
- Include point
-
FXRange& include(const FXVec& v)
- Include point
-
FXRange& clipTo(const FXRange& box)
- Clip domain against another
Documentation
Range
FXRange()
- Default constructor
FXRange(FXfloat xlo, FXfloat xhi, FXfloat ylo, FXfloat yhi, FXfloat zlo, FXfloat zhi)
- Initialize
FXfloat side(FXint i) const
- Length of side i
FXfloat width() const
- Width of box
FXfloat height() const
- Height of box
FXfloat depth() const
- Depth of box
FXfloat longest() const
- Longest side
FXfloat shortest() const
- shortest side
FXbool empty() const
- Test if empty
FXbool overlap(const FXRange& box) const
- Test if overlap
FXbool contains(FXfloat x, FXfloat y, FXfloat z) const
- Test if box contains point x,y,z
FXfloat* operator[](FXint i)
- Indexing
const FXfloat* operator[](FXint i) const
- Indexing
FXRange& include(const FXRange& box)
- Include given range into box
FXRange& include(FXfloat x, FXfloat y, FXfloat z)
- Include point
FXRange& include(const FXVec& v)
- Include point
FXRange& clipTo(const FXRange& box)
- Clip domain against another
- This class has no child classes.
- Friends:
- void boxCorners(FXVec* points,const FXRange& box)
FXbool boxIntersect(const FXRange& box,const FXVec& u,const FXVec& v)
FXVec boxCenter(const FXRange& box)
FXfloat boxDiagonal(const FXRange& box)
FXStream& operator<<(FXStream& store,const FXRange& box)
FXStream& operator>>(FXStream& store,FXRange& box)
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.