FXRange

class FXRange

Range

Public Methods

[more] FXRange()
Default constructor
[more] FXRange(FXfloat xlo, FXfloat xhi, FXfloat ylo, FXfloat yhi, FXfloat zlo, FXfloat zhi)
Initialize
[more]FXfloat side(FXint i) const
Length of side i
[more]FXfloat width() const
Width of box
[more]FXfloat height() const
Height of box
[more]FXfloat depth() const
Depth of box
[more]FXfloat longest() const
Longest side
[more]FXfloat shortest() const
shortest side
[more]FXbool empty() const
Test if empty
[more]FXbool overlap(const FXRange& box) const
Test if overlap
[more]FXbool contains(FXfloat x, FXfloat y, FXfloat z) const
Test if box contains point x,y,z
[more]FXfloat* operator[](FXint i)
Indexing
[more]const FXfloat* operator[](FXint i) const
Indexing
[more]FXRange& include(const FXRange& box)
Include given range into box
[more]FXRange& include(FXfloat x, FXfloat y, FXfloat z)
Include point
[more]FXRange& include(const FXVec& v)
Include point
[more]FXRange& clipTo(const FXRange& box)
Clip domain against another


Documentation

Range
o FXRange()
Default constructor

o FXRange(FXfloat xlo, FXfloat xhi, FXfloat ylo, FXfloat yhi, FXfloat zlo, FXfloat zhi)
Initialize

oFXfloat side(FXint i) const
Length of side i

oFXfloat width() const
Width of box

oFXfloat height() const
Height of box

oFXfloat depth() const
Depth of box

oFXfloat longest() const
Longest side

oFXfloat shortest() const
shortest side

oFXbool empty() const
Test if empty

oFXbool overlap(const FXRange& box) const
Test if overlap

oFXbool contains(FXfloat x, FXfloat y, FXfloat z) const
Test if box contains point x,y,z

oFXfloat* operator[](FXint i)
Indexing

oconst FXfloat* operator[](FXint i) const
Indexing

oFXRange& include(const FXRange& box)
Include given range into box

oFXRange& include(FXfloat x, FXfloat y, FXfloat z)
Include point

oFXRange& include(const FXVec& v)
Include point

oFXRange& 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++.