rigid_transform_surge#
- class waveresponse.rigid_transform_surge(t: array, surge: RAO, pitch: RAO, yaw: RAO)[source]#
Rigid body transformation of surge RAO.
Transforms a surge 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.surge (obj) – Surge RAO.
pitch (obj) – Pitch RAO.
yaw (obj) – Yaw RAO.
- Returns:
surge_new – Surge RAO (rigid body transformed).
- Return type:
obj