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

Method GetLength

Common/DataModel/vtkDataSet.cxx:293–296  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Return the length of the diagonal of the bounding box.

Source from the content-addressed store, hash-verified

291//------------------------------------------------------------------------------
292// Return the length of the diagonal of the bounding box.
293double vtkDataSet::GetLength()
294{
295 return std::sqrt(this->GetLength2());
296}
297
298//------------------------------------------------------------------------------
299// Return the squared length of the diagonal of the bounding box.

Callers

nothing calls this directly

Calls 2

GetLength2Method · 0.95
sqrtFunction · 0.50

Tested by

no test coverage detected