#include "tensorstore/index_space/index_transform_builder.h"
template <typename BoxLike>
  
requires IsBoxLikeImplicitlyConvertibleToRank<BoxLike, InputRank>
IndexTransformBuilder&
tensorstore::IndexTransformBuilder<InputRank, OutputRank>::
    
input_bounds(const BoxLike& box);

Specifies the lower and upper bounds of the input domain.

Equivalent to input_origin(box.origin()).input_shape(box.shape()).

Template Parameters:
typename BoxLike

An instance of Box or BoxView with a static_rank implicitly convertible to InputRank.

Parameters:
const BoxLike &box

The box specifying the domain.

Pre:

valid() == true

Checks:

box.size() == input_rank().

Note

Calling this method after the lower and/or upper bounds of the input domain have already been specified simply overrides the previous values.