|
AGX Dynamics
2.37.3.2
|
This class will store a computed violation of a range. More...
#include <Range.h>
Public Member Functions | |
| RangeViolation () | |
| Default constructor. sign=0, v=0. More... | |
| RangeViolation (int sign, const T &v) | |
| T & | excess () |
| T | excess () const |
| int & | sign () |
| int | sign () const |
This class will store a computed violation of a range.
sign is +1 when violating the upper limit, -1 when violating the lower limit, and 0 otherwise. The excess is either 0 if the argument is in range, or the (positive) distance to the nearest bound otherwise.
|
inline |
|
inline |
| T & agx::RangeViolation< T >::excess | ( | ) |
Definition at line 231 of file Range.h.
Referenced by agx::Range< Real >::excess().
| T agx::RangeViolation< T >::excess | ( | ) | const |
| int & agx::RangeViolation< T >::sign | ( | ) |
Definition at line 219 of file Range.h.
Referenced by agx::Range< Real >::excess().
| int agx::RangeViolation< T >::sign | ( | ) | const |