chrono::ChFunctionPosition_XYZfunctions Class Reference

Description

A motion function p=f(s) where p(t) is defined with three independent ChFunction objects, each for px, py, pz component.

#include <ChFunctionPosition_XYZfunctions.h>

Inheritance diagram for chrono::ChFunctionPosition_XYZfunctions:
Collaboration diagram for chrono::ChFunctionPosition_XYZfunctions:

Public Member Functions

 ChFunctionPosition_XYZfunctions (const ChFunctionPosition_XYZfunctions &other)
 
virtual ChFunctionPosition_XYZfunctionsClone () const override
 "Virtual" copy constructor.
 
void SetFunctionX (std::shared_ptr< ChFunction > mx)
 Set the fx(s) function for the X component of the motion, ie. p.x = fx(s)
 
std::shared_ptr< ChFunctionGetFunctionX ()
 Get the fx(s) function for the X component of the motion, ie. p.x = fx(s)
 
void SetFunctionY (std::shared_ptr< ChFunction > my)
 Set the fy(s) function for the Y component of the motion, ie. p.y = fy(s)
 
std::shared_ptr< ChFunctionGetFunctionY ()
 Get the fy(s) function for the Y component of the motion, ie. p.y = fy(s)
 
void SetFunctionZ (std::shared_ptr< ChFunction > mz)
 Set the fz(s) function for the Z component of the motion, ie. p.z = fz(s)
 
std::shared_ptr< ChFunctionGetFunctionZ ()
 Get the fz(s) function for the Z component of the motion, ie. p.z = fz(s)
 
virtual ChVector Get_p (double s) const override
 Return the p value of the function, at s, as p=f(s).
 
virtual ChVector Get_p_ds (double s) const override
 Return the dp/ds derivative of the function, at s.
 
virtual ChVector Get_p_dsds (double s) const override
 Return the ddp/dsds double derivative of the function, at s.
 
virtual void Estimate_s_domain (double &smin, double &smax) const override
 Return an estimate of the domain of the function argument.
 
virtual void ArchiveOut (ChArchiveOut &marchive) override
 Method to allow serialization of transient data to archives.
 
virtual void ArchiveIn (ChArchiveIn &marchive) override
 Method to allow de-serialization of transient data from archives.
 
- Public Member Functions inherited from chrono::ChFunctionPosition
 ChFunctionPosition (const ChFunctionPosition &other)
 
virtual void Estimate_boundingbox (ChVector<> &pmin, ChVector<> &pmax) const
 Return an estimate of the range of the function value. More...
 
virtual void Update (double t)
 Update could be implemented by children classes, ex. to launch callbacks.
 

The documentation for this class was generated from the following files:
  • /builds/uwsbel/chrono/src/chrono/motion_functions/ChFunctionPosition_XYZfunctions.h
  • /builds/uwsbel/chrono/src/chrono/motion_functions/ChFunctionPosition_XYZfunctions.cpp