pairing sphere to frustum More...
#include <sphere_frustum.h>
Public Member Functions | |
| void | assignContours (const std::vector< Contour * > &contour) override |
| treats ordering of contours More... | |
| void | updateg (SingleContact &contact, int i=0) override |
| compute contact kinematics for a single contact More... | |
Public Member Functions inherited from MBSim::ContactKinematics | |
| ContactKinematics (int maxNumContacts_=1) | |
| constructor | |
| ~ContactKinematics () override=default | |
| destructor | |
| virtual void | updateg (std::vector< SingleContact > &contact) |
| compute contact kinematics for all contacts More... | |
| virtual void | updatewb (std::vector< SingleContact > &contact) |
| compute contact kinematics on acceleration level for all contacts More... | |
| virtual void | updatewb (SingleContact &contact, int i=0) |
| compute contact kinematics on acceleration level for a single contact More... | |
| void | assignContours (Contour *contour1, Contour *contour2) |
| treats ordering of contours More... | |
| int | getMaximumNumberOfContacts () const |
| virtual void | setSearchAllContactPoints (bool searchAllCP_=true) |
| virtual void | setInitialGuess (const fmatvec::MatV &zeta0_) |
| set initial guess for root-finding | |
| void | setTolerance (double tol_) |
| set tolerance for root-finding | |
| void | setMaximumNumberOfContacts (int maxNumContacts_) |
| set maximum number of contacts | |
Public Member Functions inherited from fmatvec::Atom | |
| Atom & | operator= (const Atom &) |
| void | setMessageStreamActive (MsgType type, bool activeFlag) |
| void | getMessageStream (MsgType type, std::shared_ptr< bool > &a, std::shared_ptr< std::ostream > &s) const |
| void | adoptMessageStreams (const Atom *src=nullptr) |
| std::ostream & | msg (MsgType type) const |
| bool | msgAct (MsgType type) const |
Protected Attributes | |
| int | isphere |
| contour index | |
| int | ifrustum |
| Sphere * | sphere |
| contour classes | |
| Frustum * | frustum |
Protected Attributes inherited from MBSim::ContactKinematics | |
| double | tol {1e-10} |
| tolerance for root-finding | |
| int | maxNumContacts {1} |
| maximum number of contacts | |
Additional Inherited Members | |
Public Types inherited from fmatvec::Atom | |
| enum | MsgType |
Static Public Member Functions inherited from fmatvec::Atom | |
| static void | setCurrentMessageStream (MsgType type, const std::shared_ptr< bool > &a=std::make_shared< bool >(true), const std::shared_ptr< std::ostream > &s=std::make_shared< std::ostream >(std::cout.rdbuf())) |
| static std::ostream & | msgStatic (MsgType type) |
| static bool | msgActStatic (MsgType type) |
Protected Member Functions inherited from fmatvec::Atom | |
| Atom (const Atom &src) | |
pairing sphere to frustum
|
overridevirtual |
|
overridevirtual |
compute contact kinematics for a single contact
| conctact | single contact |
| i | index of the contact that should be updated |
Reimplemented from MBSim::ContactKinematics.