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

Method GetDiagonalLength2

Modules/Core/src/DataManagement/mitkBaseGeometry.cpp:282–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280}
281
282double mitk::BaseGeometry::GetDiagonalLength2() const
283{
284 Vector3D diagonalvector = GetCornerPoint() - GetCornerPoint(false, false, false);
285 return diagonalvector.GetSquaredNorm();
286}
287
288double mitk::BaseGeometry::GetDiagonalLength() const
289{

Callers 8

InitWidgetMethod · 0.80
TestGetDiagonalLengthMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestGetDiagonalLengthMethod · 0.64