| MULTIBODY SIMULATION SOFTWARE - API documentation |
#include <CHlinkTrajectory.h>


Public Member Functions | |
| virtual void | Copy (ChLinkTrajectory *source) |
| virtual ChLink * | new_Duplicate () |
| ChFunction * | Get_space_fx () |
| void | Set_space_fx (ChFunction *m_funct) |
| geometry::ChLine * | Get_trajectory_line () |
| void | Set_trajectory_line (geometry::ChLine *mline) |
| virtual void | UpdateTime (double mytime) |
| virtual void | StreamIN (ChStreamInBinary &mstream) |
| virtual void | StreamOUT (ChStreamOutBinary &mstream) |
Protected Attributes | |
| ChFunction * | space_fx |
| geometry::ChLine * | trajectory_line |
ChLinkTrajectory class. This class implements the 'point on an imposed trajectory' constraint. It can be used also to simulate the imposed motion of objects in space (for motion capture, for example).
| ChFunction* chrono::ChLinkTrajectory::Get_space_fx | ( | ) |
Gets the address of the function s=s(t) telling how the curvilinear parameter of the trajectory changes in time.
| void chrono::ChLinkTrajectory::Set_space_fx | ( | ChFunction * | m_funct | ) |
Sets the function s=s(t) telling how the curvilinear parameter of the trajectory changes in time.
| void chrono::ChLinkTrajectory::StreamIN | ( | ChStreamInBinary & | mstream | ) | [virtual] |
Method to allow deserializing a persistent binary archive (ex: a file) into transient data.
Reimplemented from chrono::ChLinkLock.
| void chrono::ChLinkTrajectory::StreamOUT | ( | ChStreamOutBinary & | mstream | ) | [virtual] |
Method to allow serializing transient data into a persistent binary archive (ex: a file).
Reimplemented from chrono::ChLinkLock.
| void chrono::ChLinkTrajectory::UpdateTime | ( | double | time | ) | [virtual] |
UPDATING PROCEDURES
Reimplemented from chrono::ChLinkLock.
ChFunction* chrono::ChLinkTrajectory::space_fx [protected] |
Function s=s(t) telling how the curvilinear parameter of the trajectory is visited in time.
CHRONO::ENGINE