DUNE: Uniform Navigational Environment  2019.02.1
Simulators::VSIM::Volume Class Reference

Detailed Description

Submersed volume calculation class.

Public Member Functions

 Volume (double height, double width, double length)
 
virtual ~Volume (void)
 
virtual double sub_volume (double depth)
 

Constructor & Destructor Documentation

Simulators::VSIM::Volume::Volume ( double  height,
double  width,
double  length 
)

Constructor.

virtual Simulators::VSIM::Volume::~Volume ( void  )
inlinevirtual

Destructor.

References sub_volume().

Member Function Documentation

double Simulators::VSIM::Volume::sub_volume ( double  depth)
virtual

Get aprox.

submersed volume.

Parameters
[in]depthdepth of the submersed part.
Returns
submersed volume.

Referenced by Simulators::VSIM::UUV::updateFin(), and ~Volume().

Collaboration diagram for Simulators::VSIM::Volume:
Collaboration graph