| 45 | { |
| 46 | |
| 47 | void process(BaseGrid& grid, PointReader reader, int count) |
| 48 | { |
| 49 | double x, y; |
| 50 | void* context; |
| 51 | |
| 52 | grid.setSampleSize(std::min(count, 10000)); |
| 53 | |
| 54 | while (reader(x, y, context)) |
| 55 | { |
| 56 | grid.addXY(x, y); |
| 57 | } |
| 58 | grid.findShapes(); |
| 59 | grid.findParentPaths(); |
| 60 | } |
| 61 | |
| 62 | } //namespace hexer |
no test coverage detected