17 #ifndef GZ_SIM_LINK_HH_
18 #define GZ_SIM_LINK_HH_
25 #include <gz/math/Matrix3.hh>
26 #include <gz/math/Matrix6.hh>
27 #include <gz/math/Pose3.hh>
28 #include <gz/math/Quaternion.hh>
29 #include <gz/math/Vector3.hh>
31 #include <gz/sim/config.hh>
33 #include <gz/sim/Export.hh>
42 inline namespace GZ_SIM_VERSION_NAMESPACE {
82 public:
Link &operator=(
Link &&_link) noexcept;
87 public:
Link &operator=(
const Link &_link);
110 public: std::optional<std::string>
Name(
117 public: std::optional<Model> ParentModel(
174 public: std::optional<math::Pose3d> WorldPose(
182 public: std::optional<math::Pose3d> WorldInertialPose(
193 public: std::optional<math::Vector3d> WorldLinearVelocity(
204 public: std::optional<math::Vector3d> WorldLinearVelocity(
213 public: std::optional<math::Vector3d> WorldAngularVelocity(
223 bool _enable =
true)
const;
245 public: std::optional<math::Vector3d> WorldAngularAcceleration(
253 public: std::optional<math::Vector3d> WorldLinearAcceleration(
263 bool _enable =
true)
const;
270 public: std::optional<math::Matrix3d> WorldInertiaMatrix(
278 public: std::optional<math::Matrix6d> WorldFluidAddedMassMatrix(
288 public: std::optional<double> WorldKineticEnergy(