------------------------------------------------------------------------------
| 364 | |
| 365 | //------------------------------------------------------------------------------ |
| 366 | double vtkBoundingBox::GetDiagonalLength2() const |
| 367 | { |
| 368 | assert("pre: not_empty" && this->IsValid()); |
| 369 | |
| 370 | double l[3]; |
| 371 | this->GetLengths(l); |
| 372 | |
| 373 | return l[0] * l[0] + l[1] * l[1] + l[2] * l[2]; |
| 374 | } |
| 375 | |
| 376 | //------------------------------------------------------------------------------ |
| 377 | double vtkBoundingBox::GetDiagonalLength() const |
no test coverage detected