| 257 | DFHACK_EXPORT void forCoord(std::function<bool(df::coord)> fn, |
| 258 | int16_t x1, int16_t y1, int16_t z1, int16_t x2, int16_t y2, int16_t z2, bool row_major = false); |
| 259 | inline void forCoord(std::function<bool(df::coord)> fn, const df::coord &p1, const df::coord &p2, bool row_major = false) { |
| 260 | forCoord(fn, p1.x, p1.y, p1.z, p2.x, p2.y, p2.z, row_major); |
| 261 | } |
| 262 | |
| 263 | /** |
| 264 | * Method for reading the geological surrounding of the currently loaded region. |