Page tree

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

 

JAVA

FORTRAN

C++

C

 

Link

H5S_SELECT_SHAPE_SAME

Checks if two selections are the same shape

Procedure:

H5S_SELECT_SHAPE_SAME ( space1_id, space2_id )

Signature:

htri_t H5Sselect_shape_same ( hid_t space1_id, hid_t space2_id )

Parameters:
hid_t space1_idIN: Identifier of 1st dataspace pointer to compare
hid_t space2_idIN: Identifier of 2nd dataspace pointer to compare

Description:

H5S_SELECT_SHAPE_SAME checks to see if the current selection in the dataspaces are the same dimensionality and shape.

This is primarily used for reading the entire selection in one swoop.

Returns:

TRUE / FALSE / FAIL

Example:

test / tselect.c [1904:1907]  hdf5_1_12  HDFFV/hdf5
                     * selections as having the same shape.
                     */
                    check = H5Sselect_shape_same(small_cube_sid, file_large_cube_sid);
                    VERIFY(check, TRUE, "H5Sselect_shape_same");

History:
ReleaseChange
1.12.0Function introduced in this release.

--- Last Modified: December 16, 2019 | 03:10 PM