FTBBox is a convenience class for handling bounding boxes.
More...
#include <FTBBox.h>
Detailed Description
FTBBox is a convenience class for handling bounding boxes.
Definition at line 42 of file FTBBox.h.
Constructor & Destructor Documentation
Default constructor.
Bounding box is set to zero.
Definition at line 48 of file FTBBox.h.
FTBBox::FTBBox |
( |
float |
lx, |
|
|
float |
ly, |
|
|
float |
lz, |
|
|
float |
ux, |
|
|
float |
uy, |
|
|
float |
uz |
|
) |
| [inline] |
Constructor.
Definition at line 56 of file FTBBox.h.
Constructor.
Definition at line 64 of file FTBBox.h.
Constructor.
Extracts a bounding box from a freetype glyph. Uses the control box for the glyph. FT_Glyph_Get_CBox()
- Parameters:
-
Definition at line 75 of file FTBBox.h.
Destructor.
Definition at line 93 of file FTBBox.h.
Member Function Documentation
Mark the bounds invalid by setting all lower dimensions greater than the upper dimensions.
Definition at line 100 of file FTBBox.h.
Determines if this bounding box is valid.
- Returns:
- True if all lower values are <= the corresponding upper values.
Definition at line 112 of file FTBBox.h.
Move the Bounding Box by a vector.
- Parameters:
-
vector | The vector to move the bbox in 3D space. |
Definition at line 124 of file FTBBox.h.
Combine two bounding boxes.
The result is the smallest bounding box containing the two original boxes.
- Parameters:
-
bbox | The bounding box to merge with the second one. |
Definition at line 138 of file FTBBox.h.
References FTPoint::X(), FTPoint::Y(), and FTPoint::Z().
The documentation for this class was generated from the following file: