Page tree

Hyperslab selection is an important component of the HDF5 library, and has a wide usage in many applications. While the hyperslab selection API covers many selection operations, it does not allow a user to flexibly operate on two hyperslab selections.The following new APIs were added to provide this capability:

H5S_COMBINE_HYPERSLABPerforms an operation on a hyperslab and an existing selection and returns the resulting selection

Combines two hyperslab selections with an operation, returning a dataspace with the resulting selection


Refines a hyperslab selection with an operation using a second hyperslab to modify it


Closes a dataspace selection iterator

H5S_SEL_ITER_CREATECreates a dataspace selection iterator for a dataspace's selection
H5S_SEL_ITER_GET_SEQ_LISTRetrieves a list of offset / length sequences for the elements in an iterator
 H5S_SELECT_ADJUST Adjusts a selection by subtracting an offset
H5S_SELECT_COPYCopies a selection from one dataspace to another
H5S_SELECT_INTERSECT_BLOCKChecks if current selection intersects with a block
H5S_SELECT_PROJECT_INTERSECTIONProjects the intersection of two source selections to a destination selection

Checks if two selections are the same shape

--- Last Modified: December 17, 2019 | 11:18 AM