SELECT_BOUNDS retrieves the coordinates of the bounding box containing the current selection and places them into user-supplied buffers. The start and end buffers must be large enough to hold the dataspace rank number of coordinates. The bounding box exactly contains the selection. I.e., if a 2-dimensional element selection is currently defined as containing the points (4,5), (6,8), and (10,7), then the bounding box will be (4, 5), (10, 8). The bounding box calculation includes the current offset of the selection within the dataspace extent. Calling this function on a none selection will return FAIL. |