12#ifndef BOUNDINGBOX_H_6014714286
13#define BOUNDINGBOX_H_6014714286
15#include <Carna/Carna.h>
44 const std::unique_ptr< Details > pimpl;
Defines Carna::base::BoundingVolume.
Represents an association.
Defines a Geometry minimal boundary box.
BoundingBox(const math::Vector3f &size)
Instantiates bounding box of size.
BoundingBox(float width, float height, float depth)
virtual void computeClosemostPoint(math::Vector3f &out, const math::Vector3f &reference) const override
Computes the point out in model space that is close-most to reference, that is also in model space.
void setSize(const math::Vector3f &size)
Changes the size of this bounding box.
void setSize(float width, float height, float depth)
const math::Vector3f & size() const
Tells the size of this bounding box.
virtual ~BoundingBox()
Deletes.
Represents a Geometry minimal boundary volume of simple geometric shape. The volume is centered withi...
Eigen::Matrix< float, 3, 1 > Vector3f
Defines vector.