MCPcopy Create free account
hub / github.com/Kitware/VTK / GetMaxLength

Method GetMaxLength

Common/DataModel/vtkBoundingBox.cxx:346–363  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

344
345//------------------------------------------------------------------------------
346double vtkBoundingBox::GetMaxLength() const
347{
348 double l[3];
349 this->GetLengths(l);
350 if (l[0] > l[1])
351 {
352 if (l[0] > l[2])
353 {
354 return l[0];
355 }
356 return l[2];
357 }
358 else if (l[1] > l[2])
359 {
360 return l[1];
361 }
362 return l[2];
363}
364
365//------------------------------------------------------------------------------
366double vtkBoundingBox::GetDiagonalLength2() const

Callers 5

UpdateResamplerMethod · 0.80
GetRenderedBoundsMethod · 0.80
GetRenderedBoundsMethod · 0.80
GenerateCutsMethod · 0.80

Calls 1

GetLengthsMethod · 0.95

Tested by

no test coverage detected