Functions | |
template<class T > | |
void | ForceInRange (const T &min, T *p, const T &max) |
template<class T > | |
bool | InRange (const T &i, const T &from, const T &to) |
template<class T > | |
void | LowerLimit (T &x, const T &limit) |
template<class T > | |
void | UpperLimit (T &x, const T &limit) |
void SgUtil::ForceInRange | ( | const T & | min, | |
T * | p, | |||
const T & | max | |||
) |
bool SgUtil::InRange | ( | const T & | i, | |
const T & | from, | |||
const T & | to | |||
) |
Definition at line 26 of file SgUtil.h.
Referenced by SgPointUtil::InBoardRange(), SgReadPoint::Read(), SgPropUtil::SgfStringToPoint(), and SgUctSearch::UpdateRaveValues().
void SgUtil::LowerLimit | ( | T & | x, | |
const T & | limit | |||
) |