rigid_transform_sway#
- class waveresponse.rigid_transform_sway(t: array, sway: RAO, roll: RAO, yaw: RAO)[source]#
Rigid body transformation of sway RAO.
Transforms a sway RAO from one location to another on a rigid body.
- Parameters:
t (array-like) – Translation vector, describing the translation ‘from-old-to-new’ location on the rigid body. Given as
(x_new, y_new, z_new) - (x_old, y_old, z_old), where(x_new, y_new, z_new)are coordinates of the ‘new’ location, and(x_old, y_old, z_old)are coordinates of the ‘old’ location.sway (obj) – Sway RAO.
roll (obj) – Roll RAO.
yaw (obj) – Yaw RAO.
- Returns:
sway_new – Sway RAO (rigid body transformed).
- Return type:
obj