------------------------------------------------------------------------------
| 662 | |
| 663 | //------------------------------------------------------------------------------ |
| 664 | bool vtkBoundingBox::IntersectsSphere(double center[3], double radius) const |
| 665 | { |
| 666 | return center[0] >= this->MinPnt[0] - radius && center[0] <= this->MaxPnt[0] + radius && |
| 667 | center[1] >= this->MinPnt[1] - radius && center[1] <= this->MaxPnt[1] + radius && |
| 668 | center[2] >= this->MinPnt[2] - radius && center[2] <= this->MaxPnt[2] + radius; |
| 669 | } |
| 670 | |
| 671 | // --------------------------------------------------------------------------- |
| 672 | bool vtkBoundingBox::IntersectsLine(const double p1[3], const double p2[3]) const |
no outgoing calls
no test coverage detected