| 196 | } |
| 197 | |
| 198 | bool cuboid::containsPos(int16_t x, int16_t y, int16_t z) const { |
| 199 | return x >= x_min && y >= y_min && z >= z_min && |
| 200 | x <= x_max && y <= y_max && z <= z_max; |
| 201 | } |
| 202 | |
| 203 | void cuboid::forCoord(std::function<bool(df::coord)> fn, bool row_major) const |
| 204 | { |
no outgoing calls
no test coverage detected