#include <WEMBoundingBox.h>
Public Member Functions | |
| WEMBoundingBox () | |
| Standard constructor. | |
| ~WEMBoundingBox () | |
| Standard destructor. | |
| Vector3 | getMin () const |
| Get minimum bounding box extent. | |
| Vector3 | getMax () const |
| Get maximum bounding box extent. | |
| Vector3 | getCenter () const |
| Get center of bounding box. | |
| double | getRadius () const |
| Get radius. | |
| bool | isCentered () const |
| Is bounding box centered? | |
| bool | isScalable () const |
| Is bounding box scalable? | |
| void | reset () |
| Reset values. | |
| void | setExtents (Vector3 min, Vector3 max) |
| Set extents minimum and maximum and update center and radius. | |
| void | center () |
| Center bounding box. | |
| void | scale () |
| Scale bounding box. | |
Definition at line 21 of file WEMBoundingBox.h.
| ml::WEMBoundingBox::WEMBoundingBox | ( | ) |
Standard constructor.
| ml::WEMBoundingBox::~WEMBoundingBox | ( | ) |
Standard destructor.
| void ml::WEMBoundingBox::center | ( | ) |
Center bounding box.
| Vector3 ml::WEMBoundingBox::getCenter | ( | ) | const [inline] |
| Vector3 ml::WEMBoundingBox::getMax | ( | ) | const [inline] |
| Vector3 ml::WEMBoundingBox::getMin | ( | ) | const [inline] |
| double ml::WEMBoundingBox::getRadius | ( | ) | const [inline] |
| bool ml::WEMBoundingBox::isCentered | ( | ) | const [inline] |
| bool ml::WEMBoundingBox::isScalable | ( | ) | const [inline] |
| void ml::WEMBoundingBox::reset | ( | ) |
Reset values.
| void ml::WEMBoundingBox::scale | ( | ) |
Scale bounding box.
Set extents minimum and maximum and update center and radius.
1.5.8