A event handler to terminate integration when geodesic hits the plane.
More...
#include <ContactGeometry.h>
List of all members.
Detailed Description
A event handler to terminate integration when geodesic hits the plane.
For use with a ParticleConSurfaceSystem
Constructor & Destructor Documentation
Member Function Documentation
This method is invoked to handle the event.
It is given a State which describes the system at the time when the event occurs, and it is permitted to modify any aspect of the state except the time. In doing so, it should respect the specified accuracy requirements for the continuous variables and constraints.
- Parameters:
-
state | The state of the system when the event occurred. This method should modify state to reflect the changes caused by the event. |
accuracy | The accuracy to which this simulation is being computed. If your handler performs any approximate operation it should do so consistent with the simulation accuracy. |
shouldTerminate | If the event handler sets this to true, it will cause the simulation to terminate immediately. This does not necessarily indicate an error condition. |
Implements SimTK::EventHandler.
The documentation for this class was generated from the following file: