MBSim

Project Page
Public Member Functions | Private Attributes
MBSim::ContactKinematicsSpherePlane Class Reference

pairing sphere to plane More...

#include <sphere_plane.h>

Inheritance diagram for MBSim::ContactKinematicsSpherePlane:
MBSim::ContactKinematics

List of all members.

Public Member Functions

virtual void assignContours (const std::vector< Contour * > &contour)
 treats ordering of contours
virtual void updateg (fmatvec::Vec &g, ContourPointData *cpData, int index=0)
 compute normal distance, possible contact point positions and orientation (cf.
virtual void updatewb (fmatvec::Vec &wb, const fmatvec::Vec &g, ContourPointData *cpData)
 compute acceleration in terms of contour parameters for event driven integration

Private Attributes

int isphere
 contour index
int iplane
Sphere * sphere
 contour classes
Plane * plane

Detailed Description

pairing sphere to plane

Author:
Martin Foerg
Date:
2009-04-02 some comments (Thorsten Schindler)
2009-08-19 fix for planar friction (Thorsten Schindler)

Member Function Documentation

virtual void MBSim::ContactKinematicsSpherePlane::assignContours ( const std::vector< Contour * > &  contour) [virtual]

treats ordering of contours

Parameters:
contourvector

Implements MBSim::ContactKinematics.

virtual void MBSim::ContactKinematicsSpherePlane::updateg ( fmatvec::Vec &  g,
ContourPointData *  cpData,
int  index = 0 
) [virtual]

compute normal distance, possible contact point positions and orientation (cf.

contact.cc)

Parameters:
gnormal distance
cpDatacontact point parametrisation
indexindex of the contact point that should be updated

Implements MBSim::ContactKinematics.

virtual void MBSim::ContactKinematicsSpherePlane::updatewb ( fmatvec::Vec &  wb,
const fmatvec::Vec &  g,
ContourPointData *  cpData 
) [virtual]

compute acceleration in terms of contour parameters for event driven integration

Parameters:
accelerationin terms of contour parameters
normaldistance
contactpoint parametrisation

Implements MBSim::ContactKinematics.


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