17 #ifndef GZ_MSGS_CONVERT_AXISALIGNEDBOX_HH_
18 #define GZ_MSGS_CONVERT_AXISALIGNEDBOX_HH_
23 #include "gz/msgs/axis_aligned_box.pb.h"
26 #include <gz/math/AxisAlignedBox.hh>
30 inline namespace GZ_MSGS_VERSION_NAMESPACE {
33 inline void Set(gz::msgs::AxisAlignedBox *_msg,
36 Set(_msg->mutable_min_corner(), _data.
Min());
37 Set(_msg->mutable_max_corner(), _data.
Max());
41 const gz::msgs::AxisAlignedBox &_msg)
43 Set(&_data->
Min(), _msg.min_corner());
44 Set(&_data->
Max(), _msg.max_corner());
49 gz::msgs::AxisAlignedBox ret;