Public Types | Public Member Functions

OpenTissue::psys::Constraint< types > Class Template Reference

#include <psys_constraint.h>

Inheritance diagram for OpenTissue::psys::Constraint< types >:
OpenTissue::psys::ConnectorFacade< types > OpenTissue::psys::Box< types > OpenTissue::psys::Pin< types > OpenTissue::psys::Stick< types >

List of all members.

Public Types

typedef types::system_type system_type

Public Member Functions

virtual ~Constraint ()
virtual void satisfy ()

Detailed Description

template<typename types>
class OpenTissue::psys::Constraint< types >

Constraint Base Class.


Member Typedef Documentation

template<typename types >
typedef types::system_type OpenTissue::psys::Constraint< types >::system_type

Constructor & Destructor Documentation

template<typename types >
virtual OpenTissue::psys::Constraint< types >::~Constraint (  )  [inline, virtual]

Member Function Documentation

template<typename types >
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 >.


The documentation for this class was generated from the following file: