class
#include <iDynTree/SolidShapes.h>
Box Box, i.e.
3D rectangular parallelepiped.
The box is centered in the mesh frame, its sides are aligned with the axis of the mesh frame, and the side lenghts in the x, y and z direction are given by the attributes x, y and z.
Base classes
- class SolidShape
Constructors, destructors, conversion operators
- ~Box() virtual
Public functions
- auto clone() const -> SolidShape* virtual
- auto getX() const -> double
- Returns the current x side length.
- void setX(double x)
- Sets the x side length.
- auto getY() const -> double
- Returns the current y side length.
- void setY(double y)
- Sets the y side length.
- auto getZ() const -> double
- Returns the current z side length.
- void setZ(double z)
- Sets the z side length.