chrono::ChAABB Struct Reference
Description
Axis-aligned bounding box.
#include <ChGeometry.h>
Collaboration diagram for chrono::ChAABB:

Public Member Functions | |
| ChAABB () | |
| Default is an inverted bounding box. | |
| ChAABB (const ChVector3d &aabb_min, const ChVector3d &aabb_max) | |
| Construct an AABB with provided corners. | |
| ChAABB (const ChIntAABB &aabb, double spacing) | |
| Construct an AABB from the given integer AABB and grid spacing. | |
| ChVector3d | Center () const |
| Get AABB center. | |
| ChVector3d | Size () const |
| Get AABB dimensions. | |
| bool | IsInverted () const |
| Return true for an inverted bounding box. | |
| ChAABB | operator+ (const ChAABB &aabb) |
| Return the union of this AABB and the specified AABB. | |
| ChAABB & | operator+= (const ChAABB &aabb) |
| Include the specified AABB in this AABB. | |
| ChAABB & | operator+= (const ChVector3d p) |
| Include the specified point in this AABB. | |
| ChAABB | Transform (const ChFrame<> &frame) const |
| Transform by the given frame. | |
Public Attributes | |
| ChVector3d | min |
| low AABB corner | |
| ChVector3d | max |
| high AABB corner | |
The documentation for this struct was generated from the following files:
- /builds/uwsbel/chrono/src/chrono/geometry/ChGeometry.h
- /builds/uwsbel/chrono/src/chrono/geometry/ChGeometry.cpp