Stable Numerics Subroutine Library
Programming Reference Manual
Version 1.1 DD-00006-011

8.2.10 Set comparisons

bool contains(const T& v) const; 
bool contains(const triplex<T>& o) const; 
bool overlaps(const triplex<T>& o) const;

These functions make set assertions by comparison to an other TR  or R  value.

contains(const T&)


Determines whether the given R  value is contained in the current triplex.

contains(const triplex<T>&)


Determines whether the given triplex is fully inside and contained in the current triplex.

overlaps(const triplex<T>&)


Determines whether the given triplex overlaps with the current triplex but is not fully contained in the latter.