#include "tensorstore/index_interval.h"
OptionallyImplicitIndexInterval
tensorstore::Hull(OptionallyImplicitIndexInterval a,
                  
OptionallyImplicitIndexInterval b);

Computes the hull of two index intervals.

Returns the smaller of the lower bounds and the larger of the upper bounds. The implicit flag that corresponds to the selected bound is propagated, in the event of equal bounds and mismatched implicit flags, an explicit flag is used.

Parameters:
OptionallyImplicitIndexInterval a

OptionallyImplicitIndexInterval to hull.

OptionallyImplicitIndexInterval b

Other OptionallyImplicitIndexInterval to hull.