FX::FXExtentd Class Reference

#include <FXExtentd.h>

List of all members.


Detailed Description

Extent.

Definition at line 32 of file FXExtentd.h.

Public Member Functions

 FXExtentd ()
 FXExtentd (const FXExtentd &ext)
 FXExtentd (const FXVec2d &lo, const FXVec2d &hi)
 FXExtentd (FXdouble xlo, FXdouble xhi, FXdouble ylo, FXdouble yhi)
FXExtentdoperator= (const FXExtentd &ext)
FXVec2doperator[] (FXint i)
const FXVec2doperator[] (FXint i) const
bool operator== (const FXExtentd &ext) const
bool operator!= (const FXExtentd &ext) const
FXdouble width () const
FXdouble height () const
FXdouble longest () const
FXdouble shortest () const
FXdouble diameter () const
FXdouble radius () const
FXVec2d diagonal () const
FXVec2d center () const
bool empty () const
bool contains (FXdouble x, FXdouble y) const
bool contains (const FXVec2d &p) const
bool contains (const FXExtentd &ext) const
FXExtentdinclude (FXdouble x, FXdouble y)
FXExtentdinclude (const FXVec2d &v)
FXExtentdinclude (const FXExtentd &ext)
FXVec2d corner (FXint c) const

Public Attributes

FXVec2d lower
FXVec2d upper

Friends

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


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