| 
    Simbody
    3.8
    
   | 
 
Options for the handleEvent() method. More...
Public Types | |
| enum | Option {  None = 0x0000 , DontThrow = 0x0001 , UseInfinityNorm = 0x0002 }  | 
Public Member Functions | |
| HandleEventsOptions () | |
| HandleEventsOptions (Real accuracy) | |
| HandleEventsOptions (Option opt) | |
| HandleEventsOptions & | clear () | 
| Restore this object to its default-constructed state (no options selected, default accuracy).  More... | |
| HandleEventsOptions & | setAccuracy (Real accuracy) | 
| The norm of the constraint errors must be driven to below this value for a project() to be considered successful.  More... | |
| HandleEventsOptions & | clearOption (Option opt) | 
| Remove a given option from the set.  More... | |
| HandleEventsOptions & | setOption (Option opt) | 
| Select a given option from the set.  More... | |
| Real | getAccuracy () const | 
| Return the current value for the accuracy option.  More... | |
| bool | isOptionSet (Option opt) const | 
| HandleEventsOptions & | operator|= (const HandleEventsOptions &opts) | 
| HandleEventsOptions & | operator&= (const HandleEventsOptions &opts) | 
| HandleEventsOptions & | operator-= (const HandleEventsOptions &opts) | 
| HandleEventsOptions & | operator|= (Option opt) | 
| HandleEventsOptions & | operator-= (Option opt) | 
Static Public Member Functions | |
| static Real | getDefaultAccuracy () | 
Options for the handleEvent() method.
Accuracy should be be set by the caller, but if not the default is 1e-4.
      
  | 
  inline | 
      
  | 
  inlineexplicit | 
      
  | 
  inlineexplicit | 
      
  | 
  inline | 
Restore this object to its default-constructed state (no options selected, default accuracy).
A reference to the newly-cleared object is returned.
      
  | 
  inline | 
The norm of the constraint errors must be driven to below this value for a project() to be considered successful.
Normally an RMS norm is used but you can override that to use an infinity norm instead.
      
  | 
  inline | 
Remove a given option from the set.
Nothing happens if the option wasn't already set.
      
  | 
  inline | 
Select a given option from the set.
Nothing happens if the option wasn't already set.
      
  | 
  inline | 
Return the current value for the accuracy option.
      
  | 
  inline | 
      
  | 
  inlinestatic | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline |