94 bool contains(
const FXVec2d& p)
const;
97 bool contains(
const FXExtentd& ext)
const;
128 extern FXAPI bool overlap(
const FXExtentd& a,
const FXExtentd& b);
130 extern FXAPI FXExtentd
unite(
const FXExtentd& a,
const FXExtentd& b);
131 extern FXAPI FXExtentd
intersect(
const FXExtentd& a,
const FXExtentd& b);
133 extern FXAPI FXStream&
operator<<(FXStream& store,
const FXExtentd& ext);
FXVec2d lo(const FXVec2d &a, const FXVec2d &b)
Definition: FXVec2d.h:174
FXStream & operator>>(FXStream &store, FXDate &d)
FXExtentd(const FXExtentd &ext)
Copy constructor.
Definition: FXExtentd.h:42
bool operator==(const FXExtentd &ext) const
Comparison.
Definition: FXExtentd.h:60
FXExtentd intersect(const FXExtentd &a, const FXExtentd &b)
bool operator!=(const FXExtentd &ext) const
Definition: FXExtentd.h:61
#define FXAPI
Definition: fxdefs.h:122
FXVec2d lower
Definition: FXExtentd.h:34
FXExtentd unite(const FXExtentd &a, const FXExtentd &b)
FXdouble height() const
Height of box.
Definition: FXExtentd.h:67
FXExtentd(const FXVec2d &lo, const FXVec2d &hi)
Initialize from two vectors.
Definition: FXExtentd.h:45
FXdouble width() const
Width of box.
Definition: FXExtentd.h:64
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:99
FXVec2d corner(FXint c) const
Get corner number 0..3.
Definition: FXExtentd.h:112
Extent.
Definition: FXExtentd.h:32
double FXdouble
Definition: fxdefs.h:399
FXExtentd(FXdouble xlo, FXdouble xhi, FXdouble ylo, FXdouble yhi)
Initialize from six numbers.
Definition: FXExtentd.h:48
int FXint
Definition: fxdefs.h:397
bool overlap(const FXExtentd &a, const FXExtentd &b)
FXVec2d & operator[](FXint i)
Indexing with 0..1.
Definition: FXExtentd.h:54
FXVec2d hi(const FXVec2d &a, const FXVec2d &b)
Definition: FXVec2d.h:175
Double-precision 2-element vector.
Definition: FXVec2d.h:35
FXExtentd()
Default constructor.
Definition: FXExtentd.h:39
FXVec2d upper
Definition: FXExtentd.h:35
FXExtentd & operator=(const FXExtentd &ext)
Assignment.
Definition: FXExtentd.h:51
FXStream & operator<<(FXStream &store, const FXDate &d)
const FXVec2d & operator[](FXint i) const
Indexing with 0..1.
Definition: FXExtentd.h:57