|
Open CASCADE Technology
6.7.1
|
Axis aligned bounding box (AABB). More...
#include <OpenGl_AABB.hxx>
Public Member Functions | |
| OpenGl_AABB () | |
| Creates default (invalid) bounding volume. More... | |
| OpenGl_AABB (const OpenGl_RTVec4f &thePoint) | |
| Creates bounding volume of given point. More... | |
| OpenGl_AABB (const OpenGl_AABB &theVolume) | |
| Creates copy of another bounding volume. More... | |
| OpenGl_AABB (const OpenGl_RTVec4f &theMinPoint, const OpenGl_RTVec4f &theMaxPoint) | |
| Creates bounding volume from min and max points. More... | |
| bool | IsVoid () const |
| Is object represents uninitialized volume? More... | |
| void | Add (const OpenGl_RTVec4f &theVector) |
| Appends new point to the volume. More... | |
| void | Combine (const OpenGl_AABB &theVolume) |
| Combines the volume with another volume. More... | |
| OpenGl_AABB | Added (const OpenGl_RTVec4f &thePoint) const |
| Returns new volume created by appending a point to current volume. More... | |
| OpenGl_AABB | Combined (const OpenGl_AABB &theVolume) const |
| Returns new volume created by combining with specified volume. More... | |
| void | Clear () |
| Clears bounding volume (makes object invalid). More... | |
| float | Area () const |
| Evaluates surface area of bounding volume. More... | |
| OpenGl_RTVec4f | Size () const |
| Return diagonal of bounding volume. More... | |
| const OpenGl_RTVec4f & | CornerMin () const |
| Returns minimum point of bounding volume. More... | |
| const OpenGl_RTVec4f & | CornerMax () const |
| Returns maximum point of bounding volume. More... | |
| OpenGl_RTVec4f & | CornerMin () |
| Returns minimum point of bounding volume. More... | |
| OpenGl_RTVec4f & | CornerMax () |
| Returns maximum point of bounding volume. More... | |
Axis aligned bounding box (AABB).
| OpenGl_AABB::OpenGl_AABB | ( | ) |
Creates default (invalid) bounding volume.
| OpenGl_AABB::OpenGl_AABB | ( | const OpenGl_RTVec4f & | thePoint | ) |
Creates bounding volume of given point.
| OpenGl_AABB::OpenGl_AABB | ( | const OpenGl_AABB & | theVolume | ) |
Creates copy of another bounding volume.
| OpenGl_AABB::OpenGl_AABB | ( | const OpenGl_RTVec4f & | theMinPoint, |
| const OpenGl_RTVec4f & | theMaxPoint | ||
| ) |
Creates bounding volume from min and max points.
| void OpenGl_AABB::Add | ( | const OpenGl_RTVec4f & | theVector | ) |
Appends new point to the volume.
| OpenGl_AABB OpenGl_AABB::Added | ( | const OpenGl_RTVec4f & | thePoint | ) | const |
Returns new volume created by appending a point to current volume.
| float OpenGl_AABB::Area | ( | ) | const |
Evaluates surface area of bounding volume.
| void OpenGl_AABB::Clear | ( | ) |
Clears bounding volume (makes object invalid).
| void OpenGl_AABB::Combine | ( | const OpenGl_AABB & | theVolume | ) |
Combines the volume with another volume.
| OpenGl_AABB OpenGl_AABB::Combined | ( | const OpenGl_AABB & | theVolume | ) | const |
Returns new volume created by combining with specified volume.
|
inline |
Returns maximum point of bounding volume.
|
inline |
Returns maximum point of bounding volume.
|
inline |
Returns minimum point of bounding volume.
|
inline |
Returns minimum point of bounding volume.
|
inline |
Is object represents uninitialized volume?
| OpenGl_RTVec4f OpenGl_AABB::Size | ( | ) | const |
Return diagonal of bounding volume.
1.8.5