Intersect


Return whether ranges have intersection or not. nval defines a value used to specify "no limit" special value.

template<class TYPE>
bool Intersect(const TRange<TYPE> &a, const TRange<TYPE> &b, const TYPE nval);
template<class TYPE>
bool Intersect(const TRange<TYPE> &a, const TRange<TYPE> &b, const TYPE nval, const TYPE relative_tolerance);
Namespace: ntl
Include: NTL/Core/Range.h