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 individually

Int

min

output parameter: minimum

Vector

max

output parameter: maximum

Vector

min_block

output parameter: block numbers containing minimum (per component)

IntVector

max_block

output parameter: block numbers containing maximum (per component)

IntVector

min_index

output parameter: indices of minimum (per component)

IntVector

max_index

output parameter: indices of maximum (per component)

IntVector

By enabling per_block, it creates an enclosing cuboid for each input block individually instead of for all blocks globally.

Usage Examples

Fig.1 tiny-covise workflow (left) and expected result (right).