output bounding box info for regions, if present

This commit is contained in:
Axel Kohlmeyer
2019-01-31 18:12:56 -05:00
parent 2e60e461a0
commit f28ab59695

View File

@ -532,6 +532,12 @@ void Info::command(int narg, char **arg)
fprintf(out,"Region[%3d]: %s, style = %s, side = %s\n",
i, regs[i]->id, regs[i]->style,
regs[i]->interior ? "in" : "out");
if (regs[i]->bboxflag)
fprintf(out," Boundary: lo %g %g %g hi %g %g %g\n",
regs[i]->extent_xlo, regs[i]->extent_ylo,
regs[i]->extent_zlo, regs[i]->extent_xhi,
regs[i]->extent_yhi, regs[i]->extent_zhi);
else fprintf(out," No Boundary\n");
}
}