kc_interval<T> concatenated(const kc_interval<T>& o) const; kc_interval<T>& concatenate(const kc_interval<T>& o); kc_interval<T> concatenated_radius(const kc_interval<T>& o) const; kc_interval<T>& concatenate_radius(const kc_interval<T>& o);
These functions compute the hull of the current and a further interval, such that for the resulting interval . This is done in one of two ways:
By adjusting the center point to the middle of and and computing a radius that encompasses both.
By leaving the center point of in place and just expanding the radius to encompass also.
Return a new interval, that contains the hull of both the current and the argument supplied interval.
Expand the current interval such that it also contains the supplied interval. This operation will change the center
point.
Return a new interval with the radius expanded to encompass . The center point will be that of the current
interval.
Expand the radius of the current interval to encompass . The center point will remain unchanged.