Page tree

The license could not be verified: License Certificate has expired!

 

JAVA

FORTRAN

C++

C

 

Link

H5S_SELECT_INTERSECT_BLOCK

Checks if current selection intersects with a block

Procedure:

H5S_SELECT_INTERSECT_BLOCK ( space_id, start, end )

Signature:

htri_t H5Sselect_intersect_block ( hid_t space_id, const hsize_t *start, const hsize_t *end )

Parameters:
const H5S_t *space_idIN: Dataspace to compare
const hsize_t *startIN: Starting coordinate of block
const hsize_t *endIN: Opposite ("ending") coordinate of block

Description:

H5S_SELECT_INTERSECT_BLOCK checks to see if the current selection space_id in the dataspace intersects with the block specified by start and end.

Assumes that start & end block bounds are inclusive, so start == end value is OK.

Returns:

Returns a non-negative value if successful; otherwise returns a negative value.

Example:

test / tselect.c [15242:15244]  hdf5_1_12  HDFFV/hdf5
    /* Test block intersection with 'none' selection (always false) */
    status = H5Sselect_intersect_block(sid, block_start, block_end);
    VERIFY(status, FALSE, "H5Sselect_intersect_block");

History:
ReleaseChange
1.12.0Function introduced in this release.

--- Last Modified: June 02, 2020 | 09:58 AM