template <class T>
class vtb::core::Hull
Base classes
Methods
  • configure(const vtb::assets::Options & options) -> void
  • torque(const vertex_type & centre_of_gravity) const -> vertex_type
  • restoring_moment(const Grid< T, 1 > & angle_grid, int dimension) const -> Array< T, 1 >
  • rebalance(T draught) -> void

    Calculate centre of mass taking into account buoyancy and gravity forces and move the origin to this point.

    draught

  • draught() const -> scalar_type
  • draught(scalar_type rhs) -> void
  • displacement() const -> scalar_type
  • displacement(scalar_type rhs) -> void
  • mass(scalar_type rhs) -> void
  • mass() const -> scalar_type
  • Hull(const base_type & rhs)
  • Hull(base_type && rhs)