wecopttool.core.set_fb_centers

set_fb_centers(fb, rho=1025.0)[source]

Sets default properties if not provided by the user: - center_of_mass is set to the geometric centroid - rotation_center is set to the center of mass

Parameters:
  • fb (FloatingBody)

  • rho (float)

Return type:

FloatingBody