20#include <ignition/math/Box.hh>
21#include <ignition/math/Vector3.hh>
22#include <ignition/utils/ImplPtr.hh>
25#include <sdf/sdf_config.h>
30 inline namespace SDF_VERSION_NAMESPACE {
48 public: ignition::math::Vector3d
Size()
const;
52 public:
void SetSize(
const ignition::math::Vector3d &_size);
62 public:
const ignition::math::Boxd &
Shape()
const;
66 public: ignition::math::Boxd &
Shape();
69 IGN_UTILS_IMPL_PTR(dataPtr)
Box represents a box shape, and is usually accessed through a Geometry.
Definition Box.hh:34
ignition::math::Vector3d Size() const
Get the box size in meters.
const ignition::math::Boxd & Shape() const
Get the Ignition Math representation of this Box.
void SetSize(const ignition::math::Vector3d &_size)
Set the box size in meters.
ignition::math::Boxd & Shape()
Get a mutable Ignition Math representation of this Box.
sdf::ElementPtr Element() const
Get a pointer to the SDF element that was used during load.
Errors Load(ElementPtr _sdf)
Load the box geometry based on a element pointer.
std::vector< Error > Errors
A vector of Error.
Definition Types.hh:106
std::shared_ptr< Element > ElementPtr
Definition Element.hh:54
namespace for Simulation Description Format parser
Definition Actor.hh:34
#define SDFORMAT_VISIBLE
Use to represent "symbol visible" if supported.
Definition system_util.hh:41