![]() |
LibCarna Version 3.4.0
|
Represents a Geometry minimal boundary volume of simple geometric shape. The volume is centered within its local coordinate system. More...
#include <BoundingVolume.hpp>
Public Member Functions | |
BoundingVolume () | |
Instantiates. | |
virtual | ~BoundingVolume () |
Deletes. | |
virtual void | computeClosemostPoint (math::Vector3f &out, const math::Vector3f &reference) const =0 |
Computes the point out in model space that is close-most to reference, that is also in model space. | |
void | setTransform (const math::Matrix4f &transform) |
Sets the transform from the local coordinate system of this bounding volume to the Geometry object that uses it. | |
const math::Matrix4f & | transform () const |
Tells the transform from the local coordinate system of this bounding volume to the model space of the Geometry object that uses it. | |
const math::Matrix4f & | inverseTransform () const |
Tells the transform from the model space of the Geometry object that uses this bounding volume to its local coordinate system. | |
Represents a Geometry minimal boundary volume of simple geometric shape. The volume is centered within its local coordinate system.
Definition at line 45 of file BoundingVolume.hpp.
|
pure virtual |
Computes the point out in model space that is close-most to reference, that is also in model space.
Implemented in LibCarna::base::BoundingBox, and LibCarna::base::BoundingSphere.
Written by Leonid Kostrykin © 2021–2025. Based on Carna (© 2010-2016).
Documentation generated by Doxygen