12 #ifndef __UT_SuperInterval__
13 #define __UT_SuperInterval__
57 if(
this != &interval )
89 if (SYSisLess(max, arg.
min, tol))
95 if (SYSisLess(arg.
max, min, tol))
124 template <
typename T>
131 myMinInclusive =
true;
136 myMaxInclusive =
true;
142 template <
typename T>
147 myMinInclusive ?
'[' :
'(',
150 myMaxInclusive ?
']' :
')'
154 #endif // __UT_SuperInterval__
bool SYSisEqual(const UT_Vector2T< T > &a, const UT_Vector2T< T > &b, S tol)
Componentwise equality.
UT_SuperIntervalT & operator=(UT_SuperIntervalT< T > const &interval)=default
auto printf(const S &fmt, const T &...args) -> int
UT_SuperIntervalT(UT_SuperIntervalT< T > const &interval)
GLboolean GLboolean GLboolean GLboolean a
auto arg(const Char *name, const T &arg) -> detail::named_arg< Char, T >
void clamp(T c_min, T c_max)
GLboolean GLboolean GLboolean b
UT_SuperIntervalT(T a, T b, bool ia=true, bool ib=true)
UT_SuperIntervalT(UT_IntervalT< T > const &interval)
UT_SuperIntervalT & operator=(UT_IntervalT< T > const &interval)
bool intersects(const UT_SuperIntervalT &arg, T tol=T(SYS_FTOLERANCE)) const
bool contains(T arg, T tol=T(SYS_FTOLERANCE)) const
UT_SuperIntervalT< fpreal > UT_SuperIntervalR