bool disjoint(const interval<T>& a, const interval<T>& b); bool proper_subset(const interval<T>& a, const interval<T>& b); bool subset(const interval<T>& a, const interval<T>& b); bool proper_superset(const interval<T>& a, const interval<T>& b); bool superset(const interval<T>& a, const interval<T>& b); bool interior(const interval<T>& a, const interval<T>& b); bool overlap(const interval<T>& a, const interval<T>& b); bool inside(const interval<T>& a, const T& v);
Determines whether the two given intervals are disjoint to each other, that is whether they do not have any
common set.
Determines whether is a proper subset of
, that is
.
Determines whether is a subset of
, that is
.
Determines whether is a proper superset of
, that is
.
Determines whether is a superset of
, that is
.
Determines whether is in inside of the convex hull of
, that is
Determines whether the ranges of and
overlap to any degree.
Determines whether the given value is contained inside
, that is whether
.