------------------------------------------------------------------------------
| 1140 | |
| 1141 | //------------------------------------------------------------------------------ |
| 1142 | bool vtkAMRResampleFilter::GridsIntersect(double* g1, double* g2) |
| 1143 | { |
| 1144 | assert("pre: g1 is nullptr" && (g1 != nullptr)); |
| 1145 | assert("pre: g2 is nullptr" && (g2 != nullptr)); |
| 1146 | |
| 1147 | vtkBoundingBox b1; |
| 1148 | b1.SetBounds(g1); |
| 1149 | |
| 1150 | vtkBoundingBox b2; |
| 1151 | b2.SetBounds(g2); |
| 1152 | |
| 1153 | return b1.IntersectBox(b2); |
| 1154 | } |
| 1155 | |
| 1156 | //------------------------------------------------------------------------------ |
| 1157 | bool vtkAMRResampleFilter::IsBlockWithinBounds(double* grd) |
no test coverage detected