An oriented bounding box.
More...
#include <Core/Geometry/Obb.hpp>
|
using | Transform = Eigen::Transform< Scalar, 3, Eigen::Affine > |
|
using | Aabb = Eigen::AlignedBox< Scalar, 3 > |
|
|
| Obb () |
| Constructors and destructor. More...
|
|
| Obb (const Aabb &aabb, const Transform &tr) |
| Initialize an OBB from an AABB and a transform.
|
|
| Obb (const Obb &other)=default |
| Default copy constructor and assignment operator.
|
|
Obb & | operator= (const Obb &other)=default |
|
Aabb | toAabb () const |
| Return the AABB enclosing this.
|
|
void | addPoint (const Eigen::Matrix< Scalar, 3, 1 > &p) |
| Extends the OBB with an new point.
|
|
Eigen::Matrix< Scalar, 3, 1 > | corner (int i) const |
| Returns the position of the i^th corner of AABB (model space)
|
|
Eigen::Matrix< Scalar, 3, 1 > | worldCorner (int i) const |
| Returns the position of the ith corner of the OBB ( world space )
|
|
Transform & | transform () |
| Non-const access to the obb transformation.
|
|
const Transform & | transform () const |
| Const access to the obb transformation.
|
|
An oriented bounding box.
Definition at line 11 of file Obb.hpp.
◆ Obb()
Ra::Core::Geometry::Obb::Obb |
( |
| ) |
|
|
inline |
Constructors and destructor.
Initializes an empty bounding box.
Definition at line 20 of file Obb.hpp.
The documentation for this class was generated from the following file:
- /home/runner/work/Radium-Engine/Radium-Engine/src/Radium-Engine/src/Core/Geometry/Obb.hpp