#include <psys_constraint.h>
Public Types | |
typedef types::system_type | system_type |
Public Member Functions | |
virtual | ~Constraint () |
virtual void | satisfy () |
Constraint Base Class.
typedef types::system_type OpenTissue::psys::Constraint< types >::system_type |
Reimplemented from OpenTissue::psys::ConnectorFacade< types >.
Reimplemented in OpenTissue::psys::Box< types >.
virtual OpenTissue::psys::Constraint< types >::~Constraint | ( | ) | [inline, virtual] |
virtual void OpenTissue::psys::Constraint< types >::satisfy | ( | ) | [inline, virtual] |
Satisfy Constraint. This method is invoked by caller.
The method is responsible for relaxing the constraint on all affected particles, that is it should adjust the positions of all affected particles in a way such that they fulfill the constraint.
Reimplemented in OpenTissue::psys::Box< types >, OpenTissue::psys::Pin< types >, and OpenTissue::psys::Stick< types >.