|
hgl 0.5.25
A compiler/interpreter suite for developing images
|
The bounding box over the type. More...
#include "itype.h"
Public Member Functions | |
| HGL::Type::BaseVector2D | getAspectRatio () const |
| Calculates the aspect ratio of the type. More... | |
| HGL::Type::BaseVector2D | getCentroid () const |
| Calculates the centroid of the bounding box. More... | |
| float | getHeight () const |
| Calculates the height of the bounding box. More... | |
| float | getWidth () const |
| Calculates the width of the bounding box. More... | |
| bool | isDefined () const |
| Checks if the bounding box is defined (i.e. yet calculated) More... | |
The bounding box over the type.
| HGL::Type::BaseVector2D BOUNDINGBOX::getAspectRatio | ( | ) | const |
Calculates the aspect ratio of the type.
| HGL::Type::BaseVector2D BOUNDINGBOX::getCentroid | ( | ) | const |
Calculates the centroid of the bounding box.
| float BOUNDINGBOX::getHeight | ( | ) | const |
Calculates the height of the bounding box.
| float BOUNDINGBOX::getWidth | ( | ) | const |
Calculates the width of the bounding box.
| bool BOUNDINGBOX::isDefined | ( | ) | const |
Checks if the bounding box is defined (i.e. yet calculated)
true if the bounding box is defined, false otherwise Referenced by HGL::Type::TypeBase::getBoundingBox().
1.8.5