3535
3636// / \file Utility.hh
3737// / \brief Utility functions that support conversion between message type
38- // / and ignition math types.
39-
40- namespace ignition
38+ // / and gz math types.
39+ namespace gz
4140{
4241 namespace msgs
4342 {
@@ -68,11 +67,11 @@ namespace ignition
6867 IGNITION_MSGS_VISIBLE
6968 ignition::math::Pose3d Convert (const msgs::Pose &_p);
7069
71- // / \brief Convert a msgs::Color to a math::Color
70+ // / \brief Convert a msgs::Color to a ignition:: math::Color
7271 // / \param[in] _c The color to convert
73- // / \return A math::Color object
72+ // / \return A ignition:: math::Color object
7473 IGNITION_MSGS_VISIBLE
75- math::Color Convert (const msgs::Color &_c);
74+ ignition:: math::Color Convert (const msgs::Color &_c);
7675
7776 // / \brief Convert a msgs::PlaneGeom to an ignition::math::Planed
7877 // / \param[in] _p The plane to convert
@@ -84,29 +83,29 @@ namespace ignition
8483 // / \param[in] _i The inertial to convert
8584 // / \return An ignition::math::Inertiald object
8685 IGNITION_MSGS_VISIBLE
87- math::Inertiald Convert (const msgs::Inertial &_i);
86+ ignition:: math::Inertiald Convert (const msgs::Inertial &_i);
8887
8988 // / \brief Convert a msgs::SphericalCoordinates to an
9089 // / ignition::math::SphericalCoordinates
9190 // / \param[in] _coord The spherical coordinates to convert
9291 // / \return An ignition::math::SphericalCoordinates object
9392 IGNITION_MSGS_VISIBLE
94- math::SphericalCoordinates Convert (
93+ ignition:: math::SphericalCoordinates Convert (
9594 const msgs::SphericalCoordinates &_coord);
9695
9796 // / \brief Convert a msgs::AxisAlignedBox to an
9897 // / ignition::math::AxisAlignedBox
9998 // / \param[in] _b The axis aligned box to convert
10099 // / \return An ignition::math::AxisAlignedBox object
101100 IGNITION_MSGS_VISIBLE
102- math::AxisAlignedBox Convert (const msgs::AxisAlignedBox &_b);
101+ ignition:: math::AxisAlignedBox Convert (const msgs::AxisAlignedBox &_b);
103102
104103 // / \brief Convert ignition::math::AxisAlignedBox to
105104 // / msgs::AxisAlignedBox.
106105 // / \param[in] _b The axis aligned box to convert
107106 // / \return An ignition::math::AxisAlignedBox object
108107 IGNITION_MSGS_VISIBLE
109- msgs::AxisAlignedBox Convert (const math::AxisAlignedBox &_b);
108+ msgs::AxisAlignedBox Convert (const ignition:: math::AxisAlignedBox &_b);
110109
111110 // / \brief Convert a msgs::StringMsg to an std::string
112111 // / \param[in] _m The message to convert
@@ -186,31 +185,31 @@ namespace ignition
186185 IGNITION_MSGS_VISIBLE
187186 msgs::Pose Convert (const ignition::math::Pose3d &_p);
188187
189- // / \brief Convert a math::Color to a msgs::Color
188+ // / \brief Convert a ignition:: math::Color to a msgs::Color
190189 // / \param[in] _c The color to convert
191190 // / \return A msgs::Color object
192191 IGNITION_MSGS_VISIBLE
193- msgs::Color Convert (const math::Color &_c);
192+ msgs::Color Convert (const ignition:: math::Color &_c);
194193
195- // / \brief Convert an math::Inertiald to a msgs::Inertial
194+ // / \brief Convert an ignition:: math::Inertiald to a msgs::Inertial
196195 // / \param[in] _i The Inertiald to convert
197196 // / \return A msgs::Inertial object
198197 IGNITION_MSGS_VISIBLE
199- msgs::Inertial Convert (const math::Inertiald &_i);
198+ msgs::Inertial Convert (const ignition:: math::Inertiald &_i);
200199
201- // / \brief Convert an math::MassMatrix3d to a msgs::Inertial
200+ // / \brief Convert an ignition:: math::MassMatrix3d to a msgs::Inertial
202201 // / \param[in] _m The MassMatrix3d to convert
203202 // / \return A msgs::Inertial object
204203 IGNITION_MSGS_VISIBLE
205- msgs::Inertial Convert (const math::MassMatrix3d &_m);
204+ msgs::Inertial Convert (const ignition:: math::MassMatrix3d &_m);
206205
207- // / \brief Convert an math::SphericalCoordinates to a
206+ // / \brief Convert an ignition:: math::SphericalCoordinates to a
208207 // / msgs::SphericalCoordinates
209208 // / \param[in] _coord The SphericalCoordinates to convert
210209 // / \return A msgs::SphericalCoordinates object
211210 IGNITION_MSGS_VISIBLE
212211 msgs::SphericalCoordinates Convert (
213- const math::SphericalCoordinates &_coord);
212+ const ignition:: math::SphericalCoordinates &_coord);
214213
215214 // / \brief Convert a ignition::math::Planed to a msgs::PlaneGeom
216215 // / \param[in] _p The plane to convert
@@ -351,31 +350,31 @@ namespace ignition
351350 IGNITION_MSGS_VISIBLE
352351 void Set (msgs::Pose *_p, const ignition::math::Pose3d &_v);
353352
354- // / \brief Set a msgs::Color from a math::Color
353+ // / \brief Set a msgs::Color from a ignition:: math::Color
355354 // / \param[out] _c A msgs::Color pointer
356- // / \param[in] _v A math::Color reference
355+ // / \param[in] _v A ignition:: math::Color reference
357356 IGNITION_MSGS_VISIBLE
358- void Set (msgs::Color *_c, const math::Color &_v);
357+ void Set (msgs::Color *_c, const ignition:: math::Color &_v);
359358
360- // / \brief Set a msgs::Inertial from an math::Inertiald
359+ // / \brief Set a msgs::Inertial from an ignition:: math::Inertiald
361360 // / \param[out] _i A msgs::Inertial pointer
362- // / \param[in] _m An math::Inertiald reference
361+ // / \param[in] _m An ignition:: math::Inertiald reference
363362 IGNITION_MSGS_VISIBLE
364- void Set (msgs::Inertial *_i, const math::Inertiald &_m);
363+ void Set (msgs::Inertial *_i, const ignition:: math::Inertiald &_m);
365364
366- // / \brief Set a msgs::Inertial from an math::MassMatrix3d
365+ // / \brief Set a msgs::Inertial from an ignition:: math::MassMatrix3d
367366 // / \param[out] _i A msgs::Inertial pointer
368- // / \param[in] _m An math::MassMatrix3d reference
367+ // / \param[in] _m An ignition:: math::MassMatrix3d reference
369368 IGNITION_MSGS_VISIBLE
370- void Set (msgs::Inertial *_i, const math::MassMatrix3d &_m);
369+ void Set (msgs::Inertial *_i, const ignition:: math::MassMatrix3d &_m);
371370
372371 // / \brief Set a msgs::SphericalCoordinates from a
373- // / math::SphericalCoordinates
372+ // / ignition:: math::SphericalCoordinates
374373 // / \param[out] _sc A msgs::SphericalCoordinates pointer
375- // / \param[in] _m An math::SphericalCoordinates reference
374+ // / \param[in] _m An ignition:: math::SphericalCoordinates reference
376375 IGNITION_MSGS_VISIBLE
377376 void Set (msgs::SphericalCoordinates *_sc,
378- const math::SphericalCoordinates &_m);
377+ const ignition:: math::SphericalCoordinates &_m);
379378
380379 // / \brief Set a msgs::Plane from an ignition::math::Planed
381380 // / \param[out] _p A msgs::Plane pointer
@@ -431,11 +430,11 @@ namespace ignition
431430 IGNITION_MSGS_VISIBLE
432431 void Set (msgs::Float *_p, const float &_v);
433432
434- // / \brief Set a msgs::AxisAlignedBox from a math::AxisAlignedBox
433+ // / \brief Set a msgs::AxisAlignedBox from a ignition:: math::AxisAlignedBox
435434 // / \param[out] _b A msgs::AxisAlignedBox pointer
436- // / \param[in] _v An math::AxisAlignedBox reference
435+ // / \param[in] _v An ignition:: math::AxisAlignedBox reference
437436 IGNITION_MSGS_VISIBLE
438- void Set (msgs::AxisAlignedBox *_b, const math::AxisAlignedBox &_v);
437+ void Set (msgs::AxisAlignedBox *_b, const ignition:: math::AxisAlignedBox &_v);
439438
440439 // / \brief This function will set the header and field members of
441440 // / a PointCloudPacked message. This will clear existing values in the
0 commit comments