| 177 | }; |
| 178 | |
| 179 | bool remove(const LASpoint* point) |
| 180 | { |
| 181 | finalized = false; |
| 182 | I32 cell = cell_from_xyz(point->get_x(), point->get_y(), point->get_z()); |
| 183 | if (grid[cell] == 0) laserror("internal error in the finalizer. Please report"); |
| 184 | grid[cell]--; |
| 185 | npoints--; |
| 186 | finalized = grid[cell] == 0; |
| 187 | return true; |
| 188 | }; |
| 189 | |
| 190 | I32 cell_from_xyz(const F64 x, const F64 y, const F64 z) |
| 191 | { |