![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXExtentf.h>
FX::FXExtentf::FXExtentf | ( | ) | [inline] |
Default constructor; value is not initialized.
FX::FXExtentf::FXExtentf | ( | const FXExtentf & | ext | ) | [inline] |
Copy constructor.
FX::FXExtentf::FXExtentf | ( | const FXVec2f & | p | ) | [inline] |
Initialize with a single point.
Initialize from corner points.
Initialize with explicit values.
Set value from explicit values.
FXfloat FX::FXExtentf::width | ( | ) | const [inline] |
Width of box.
FXfloat FX::FXExtentf::height | ( | ) | const [inline] |
Height of box.
FXfloat FX::FXExtentf::longest | ( | ) | const |
Longest side.
FXfloat FX::FXExtentf::shortest | ( | ) | const |
shortest side
FXfloat FX::FXExtentf::diameter | ( | ) | const |
Length of diagonal.
FXfloat FX::FXExtentf::radius | ( | ) | const |
Get radius of box.
FXVec2f FX::FXExtentf::diagonal | ( | ) | const |
Compute diagonal.
FXVec2f FX::FXExtentf::center | ( | ) | const |
Get center of box.
FXbool FX::FXExtentf::empty | ( | ) | const |
Test if empty.
Test if box properly contains another box.
Intersection of two boxes.
Referenced by operator!=(), operator=(), and operator==().
Referenced by operator!=(), operator=(), and operator==().
![]() |