MULTIBODY SIMULATION SOFTWARE - API documentation

chrono::geometry::ChLineCam Class Reference

#include <CHcLineCam.h>

Inheritance diagram for chrono::geometry::ChLineCam:

Inheritance graph
[legend]
Collaboration diagram for chrono::geometry::ChLineCam:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ChLineCam (const ChLineCam &source)
void Copy (const ChLineCam *source)
ChGeometryDuplicate ()
virtual int GetClassType ()
int Get_closed ()
void Set_closed (int mc)
void Set_Phase (double mf)
double Get_Phase ()
void Set_Rb (double mrb)
double Get_Rb ()
void Set_Rr (double mrr)
double Get_Rr ()
void Set_motion_law (ChFunction *mlaw)
ChFunctionGet_motion_law ()
void Set_type (eChCamType mt)
eChCamType Get_type ()
void Set_center (Vector mc)
Vector Get_center ()
void Set_Negative (int mne)
int Get_Negative ()
void Set_Internal (int min)
int Get_Internal ()
void Set_rotating_follower (double mp, double md, double mb0)
double Get_p ()
double Get_d ()
double Get_b0 ()
void Set_sliding_eccentrical (double me)
double Get_e ()
double Get_s ()
void Set_flat_oscillate (double me, double md, double mb0)
virtual void EvaluateCamPoint (double par, Vector &res, double &g, double &q)
virtual void Evaluate (Vector &pos, const double parU, const double parV=0., const double parW=0.)
virtual double Get_weight (double par)
void StreamOUT (ChStreamOutBinary &mstream)
void StreamIN (ChStreamInBinary &mstream)


Detailed Description

CAM-PROFILE LINE

The object which describes analitycally the shape of a cam, given the ChFunction which defines the motion law of the follower.


Member Function Documentation

virtual int chrono::geometry::ChLineCam::GetClassType (  )  [virtual]

Get the class type as unique numerical ID (faster than using ChronoRTTI mechanism). Each inherited class must return an unique ID.

Reimplemented from chrono::geometry::ChLine.

int chrono::geometry::ChLineCam::Get_closed (  )  [virtual]

Tell if the curve is closed.

Reimplemented from chrono::geometry::ChLine.

void chrono::geometry::ChLineCam::Set_Rb ( double  mrb  ) 

Base radius of cam.

void chrono::geometry::ChLineCam::Set_Rr ( double  mrr  ) 

Radius of contact wheel.

void chrono::geometry::ChLineCam::Set_motion_law ( ChFunction mlaw  ) 

The motion law, as a ChFunction.

void chrono::geometry::ChLineCam::Set_type ( eChCamType  mt  ) 

Type of cam (see the eChCamType enum values below).

void chrono::geometry::ChLineCam::Set_center ( Vector  mc  ) 

position of center of cam in 3d space.

void chrono::geometry::ChLineCam::Set_Negative ( int  mne  ) 

If true, creates a negative cam.

void chrono::geometry::ChLineCam::Set_Internal ( int  min  ) 

If true, creates an internal cam.

void chrono::geometry::ChLineCam::Set_rotating_follower ( double  mp,
double  md,
double  mb0 
)

Sets the data for the rotating follower (length, distance from cam center, initial phase mb0).

void chrono::geometry::ChLineCam::Set_sliding_eccentrical ( double  me  ) 

Sets the data for the sliding follower (if eccentrical, with me eccentricity).

void chrono::geometry::ChLineCam::Set_flat_oscillate ( double  me,
double  md,
double  mb0 
)

Sets the data for the flat rotating follower (length, distance from cam center, initial phase mb0).

void chrono::geometry::ChLineCam::EvaluateCamPoint ( double  par,
Vector res,
double &  g,
double &  q 
) [virtual]

Evaluate at once all important properties of cam, function of rotation 'par' (par in range 0..1, since 1 means 360°!): Gets point res, pressure angle g, curvature radius q.

void chrono::geometry::ChLineCam::Evaluate ( Vector pos,
const double  parU,
const double  parV = 0.,
const double  parW = 0. 
) [virtual]

Curve evaluation. Given a parameter "u", finds position on line of the kind p=p(u); note that u is in the range 0...1, to make a complete cycle along the cam

Reimplemented from chrono::geometry::ChGeometry.

virtual double chrono::geometry::ChLineCam::Get_weight ( double  par  )  [virtual]

Weight evaluation. Given that the shape is defined by a Ch_function, the returned weight is the weight of the function (Ch_function_sequence can have different 'weight' values depending on the function segment)


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