17 #ifndef IGNITION_MATH_BOX_HH_ 18 #define IGNITION_MATH_BOX_HH_ 20 #include <ignition/math/config.hh> 30 inline namespace IGNITION_MATH_VERSION_NAMESPACE {
41 template<
typename Precision>
45 public:
Box() =
default;
51 public:
Box(
const Precision _length,
52 const Precision _width,
53 const Precision _height);
60 public:
Box(
const Precision _length,
const Precision _width,
61 const Precision _height,
90 public:
virtual ~
Box() =
default;
109 public:
void SetSize(
const Precision _length,
110 const Precision _width,
111 const Precision _height);
133 public: Precision Volume()
const;
143 public: Precision DensityFromMass(
const Precision _mass)
const;
157 public:
bool SetDensityFromMass(
const Precision _mass);
189 #include "ignition/math/detail/Box.hh"
A class for inertial information about a rigid body consisting of the scalar mass and a 3x3 symmetric...
Definition: MassMatrix3.hh:45
Contains information about a single material.
Definition: Material.hh:65
Box< double > Boxd
Box with double precision.
Definition: Box.hh:181
Box< float > Boxf
Box with float precision.
Definition: Box.hh:185
A representation of a box. All units are in meters.
Definition: Box.hh:42
Box< int > Boxi
Box with integer precision.
Definition: Box.hh:177