MULTIBODY SIMULATION SOFTWARE - API documentation

chrono::ChConstraint_Chf_VertDistance Class Reference

#include <CHconstraint.h>

Inheritance diagram for chrono::ChConstraint_Chf_VertDistance:

Inheritance graph
[legend]
Collaboration diagram for chrono::ChConstraint_Chf_VertDistance:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ChConstraint_Chf_VertDistance (ChFunction *mRootFunct, char *mTreeIDs, int mhA, int mhB)
double GetDistance ()
void SetDistance (double md)
int GetHandleA ()
int GetHandleB ()
void SetHandleA (int mh)
void SetHandleB (int mh)
virtual bool Update ()


Detailed Description

Algebraic constraint on ChFunctions. Impose segment vertical separation on Y axis, between two handles

Member Function Documentation

bool chrono::ChConstraint_Chf_VertDistance::Update (  )  [virtual]

---TO IMPLEMENT-- w.overloading This MUST be overloaded by child classes. It should compute the residuals (vector 'C') of the constraint equations, where C=0 is for satisfied constraints. Should return false if updating was not possible.

Reimplemented from chrono::ChConstraint.


CHRONO::ENGINE
C++ library for multibody simulation, (C) Alessandro Tasora
This API documentation has been generated on 17 Jul 2009 by Doxygen