| 332 | const CellFragments<T>* GetIds(vtkIdType binNum) { return this->Map + this->Offsets[binNum]; } |
| 333 | |
| 334 | void ComputeBinBounds(int i, int j, int k, double binBounds[6]) |
| 335 | { |
| 336 | double* bds = this->Binner->Bounds; |
| 337 | double* h = this->Binner->H; |
| 338 | binBounds[0] = bds[0] + i * h[0]; |
| 339 | binBounds[1] = binBounds[0] + h[0]; |
| 340 | binBounds[2] = bds[2] + j * h[1]; |
| 341 | binBounds[3] = binBounds[2] + h[1]; |
| 342 | binBounds[4] = bds[4] + k * h[2]; |
| 343 | binBounds[5] = binBounds[4] + h[2]; |
| 344 | } |
| 345 | |
| 346 | static bool IsInBounds(const double bounds[6], const double x[3], double tol = 0.0) |
| 347 | { |