MCPcopy Create free account
hub / github.com/MITK/MITK / GetVolume

Method GetVolume

Modules/DataTypesExt/src/mitkCylinder.cpp:51–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51mitk::ScalarType mitk::Cylinder::GetVolume()
52{
53 TimeGeometry *geometry = GetTimeGeometry();
54 return geometry->GetExtentInWorld(0) * 0.5 * geometry->GetExtentInWorld(2) * 0.5 * vnl_math::pi *
55 geometry->GetExtentInWorld(1);
56}

Callers

nothing calls this directly

Calls 2

GetExtentInWorldMethod · 0.80
GetTimeGeometryFunction · 0.50

Tested by

no test coverage detected