H5Sselect_project_intersection

fnhid_t H5Sselect_project_intersection(hid_t src_space_id, hid_t dst_space_id, hid_t src_intersect_space_id)

Projects the intersection of two dataspaces into a third dataspace.

Computes the intersection of the selections of src_space_id and src_intersect_space_id within the extent of src_space_id, then projects that intersection into dst_space_id.

Parameters

src_space_idSource dataspace identifier
dst_space_idDestination dataspace identifier
src_intersect_space_idSource intersect dataspace identifier

Returns

Dataspace identifier with the projected intersection on success,

H5I_INVALID_HID on failure.

Since: HDF5 1.10.6