Return a new cuboid representing overlapping volume. Invalid result implies no intersection or invalid input.
| 214 | |
| 215 | // Return a new cuboid representing overlapping volume. Invalid result implies no intersection or invalid input. |
| 216 | DFHACK_EXPORT cuboid clampNew(const cuboid &other) const { return cuboid(*this).clamp(other); } |
| 217 | |
| 218 | /// Clamp this cuboid within map area. Invalid result implies no intersection or invalid input (e.g., no map). |
| 219 | /// Can optionally treat cuboid as map blocks instead of tiles. |