MCPcopy Create free account
hub / github.com/DFHack/dfhack / isValid

Method isValid

library/modules/Maps.cpp:144–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144bool cuboid::isValid() const {
145 return x_min >= 0 && y_min >= 0 && z_min >= 0 &&
146 x_max >= x_min && y_max >= y_min && z_max >= z_min;
147}
148
149cuboid cuboid::clamp(const cuboid &other)
150{

Callers 15

PushPosXYZMethod · 0.45
PushPosXYMethod · 0.45
describeMaterialMethod · 0.45
listMaterialFunction · 0.45
PushMethod · 0.45
gui_getMousePosFunction · 0.45
unloadMethod · 0.45
has_cursorFunction · 0.45
getAnyJobMethod · 0.45
getCursorCoordsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected