rigid_transform_heave#

class waveresponse.rigid_transform_heave(t: array, heave: RAO, roll: RAO, pitch: RAO)[source]#

Rigid body transformation of heave RAO.

Transforms a heave 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.

  • heave (obj) – Heave RAO.

  • roll (obj) – Roll RAO.

  • pitch (obj) – Pitch RAO.

Returns:

heave_new – Heave RAO (rigid body transformed).

Return type:

obj