Virtual Testbed
Ship dynamics simulator for extreme conditions
|
Public Types | |
using | vec3 = Vector3< T > |
using | face_type = vtb::geometry::Face< 3 > |
using | face_array = Array< face_type, 1 > |
using | polyhedron_type = vtb::geometry::Polyhedron< T, 3 > |
Public Member Functions | |
const std::string & | name () const |
void | name (const std::string &rhs) |
const polyhedron_type & | polyhedron () const |
void | polyhedron (const polyhedron_type &rhs) |
void | polyhedron (polyhedron_type &&rhs) |
T | flooded_volume () const |
T | flooded_volume (T rhs) |
void | fire (bool rhs) |
bool | fire () const |
bool | flooding () const |
const vec3 & | flooded_mass_centre () const |
void | calc_flooded_mass_centre () |
T | flooded_mass () const |
void | box (const vec3 &x0, const vec3 &x1) |
Friends | |
template<class X > | |
std::ostream & | operator<< (std::ostream &out, const Compartment< X > &rhs) |
Definition at line 18 of file compartment.hh.