# BoundingBox compute bounding boxes ## Purpose The bounding box can be used as a rough guide to the interesting areas of the dat set. The box can also provide visual clues that help with orientation in 3D space. Showing bounding boxes for individual blocks will allow you to assess the partitioning of your data. The numerical values can be used to craft input for modules requiring coordinates as parameter input. ## Ports grid_in input data (grid_in) BoundingBox grid_out bounding box (grid_out) The BoundingBox module takes its geometry input from `grid_in` and finds global minimum and maximum values for its coordinates. The result of this process can be seen in its parameter window as the values of the `min` and `max` parameters. The location of the extremal values are recorded in its other output parameters. It also provides a tight axis-aligned cuboid around the domain of the data at the `grid_out` output. ## Parameters |name|description|type| |-|-|-| |per_block|create bounding box for each block|Int| |min|output parameter: minimum|Vector| |max|output parameter: maximum|Vector| |min_block|output parameter: block numbers containing minimum|IntVector| |max_block|output parameter: block numbers containing maximum|IntVector| |min_index|output parameter: indices of minimum|IntVector| |max_index|output parameter: indices of maximum|IntVector| By enabling `per_block`, it creates an enclosing cuboid for each input block individually instead of for all blocks globally. ## Usage Examples ![](../../../module/map/BoundingBox/tiny-covise-net.png) Workflow for reading scalar and vector fields and drawing a bounding box around the domain of the data ![](../../../module/map/BoundingBox/tiny-covise.png) Rendering of visualization with a enclosing bounding box ## Related Modules ### Similar Modules [Extrema](Extrema.md)