template <class T>
class vtb::db::Hull
Base classes
Types
Methods
  • all(sqlite::connection * db) -> std::vector< Hull< T > >
  • clear() -> void
  • remove(sqlite::connection * db) -> void
  • save(sqlite::connection * db) -> void
  • update(sqlite::connection * db) -> void
  • insert(sqlite::connection * db) -> void
  • has_valid_id(sqlite::connection * db) const -> bool
  • color(T r, T g, T b) -> void
  • dimensions(const vec3 & v) -> void
  • dimensions(T x, T y, T z) -> void
  • color(const color_type & rhs) -> void
  • color() const -> const color_type &
  • draught(T rhs) -> void
  • draught() const -> T

    Get vertical the distance between the waterline and the bottom of the hull.

  • depth(T rhs) -> void
  • depth() const -> T

    Get overall hull height in metres.

  • beam(T rhs) -> void
  • beam() const -> T

    Get overall hull width in metres.

  • length(T rhs) -> void
  • length() const -> T

    Get overall hull length in metres.

  • polyhedron(polyhedron_type && rhs) -> void
  • polyhedron(const polyhedron_type & rhs) -> void
  • polyhedron() const -> const polyhedron_type &
  • operator=(const Hull &) -> Hull &
  • Hull(const Hull &)
  • operator=(Hull &&) -> Hull &
  • Hull(Hull &&)
  • ~Hull()
  • Hull()
  • operator core_hull_type() const
  • Hull(std::string filename)explicit
  • Hull(sqlite::connection * conn, id_type id)explicit
  • Hull(const core_hull_type & rhs)explicit
Friends
  • Ship< T >