#include <sdcontact.h>
|
| void | AddPoint (double *coord, double *normal, double depth) |
| |
| void | Clear () |
| |
| const fVec3 & | Coord (int index) |
| |
| double | Depth (int index) |
| |
| Joint * | GetJoint (int index) |
| |
| const fVec3 & | Normal (int index) |
| |
| int | NumPoints () |
| |
| | SDContactPair (Joint *_jnt1, Joint *_jnt2, double _spring=1e5, double _damper=10.0, double _static_fric=0.0, double _slip_fric=0.0, double _slip_p=2000.0, double _slip_d=700.0, double _slip_func_coef_base=0.1) |
| |
| void | SetDamper (double _damper) |
| |
| void | SetSlipFric (double _slip_fric) |
| |
| void | SetSpring (double _spring) |
| |
| void | SetStaticFric (double _static_fric) |
| |
| double | SlipFric () |
| |
| double | StaticFric () |
| |
| int | Update (double timestep, int n_contact, double **coords, double **normals, double *depths) |
| |
| | ~SDContactPair () |
| |
Definition at line 23 of file sdcontact.h.
◆ SDContactPair()
| SDContactPair::SDContactPair |
( |
Joint * |
_jnt1, |
|
|
Joint * |
_jnt2, |
|
|
double |
_spring = 1e5, |
|
|
double |
_damper = 10.0, |
|
|
double |
_static_fric = 0.0, |
|
|
double |
_slip_fric = 0.0, |
|
|
double |
_slip_p = 2000.0, |
|
|
double |
_slip_d = 700.0, |
|
|
double |
_slip_func_coef_base = 0.1 |
|
) |
| |
|
inline |
◆ ~SDContactPair()
| SDContactPair::~SDContactPair |
( |
| ) |
|
|
inline |
◆ AddPoint()
| void SDContactPair::AddPoint |
( |
double * |
coord, |
|
|
double * |
normal, |
|
|
double |
depth |
|
) |
| |
|
inline |
◆ Clear()
| void SDContactPair::Clear |
( |
| ) |
|
|
inline |
◆ Coord()
◆ Depth()
| double SDContactPair::Depth |
( |
int |
index | ) |
|
|
inline |
◆ GetJoint()
| Joint* SDContactPair::GetJoint |
( |
int |
index | ) |
|
|
inline |
◆ Normal()
◆ NumPoints()
| int SDContactPair::NumPoints |
( |
| ) |
|
|
inline |
◆ set_init()
| int SDContactPair::set_init |
( |
| ) |
|
|
protected |
◆ SetDamper()
| void SDContactPair::SetDamper |
( |
double |
_damper | ) |
|
|
inline |
◆ SetSlipFric()
| void SDContactPair::SetSlipFric |
( |
double |
_slip_fric | ) |
|
|
inline |
◆ SetSpring()
| void SDContactPair::SetSpring |
( |
double |
_spring | ) |
|
|
inline |
◆ SetStaticFric()
| void SDContactPair::SetStaticFric |
( |
double |
_static_fric | ) |
|
|
inline |
◆ SlipFric()
| double SDContactPair::SlipFric |
( |
| ) |
|
|
inline |
◆ StaticFric()
| double SDContactPair::StaticFric |
( |
| ) |
|
|
inline |
◆ Update()
| int SDContactPair::Update |
( |
double |
timestep, |
|
|
int |
n_contact, |
|
|
double ** |
coords, |
|
|
double ** |
normals, |
|
|
double * |
depths |
|
) |
| |
◆ update()
| int SDContactPair::update |
( |
double |
timestep, |
|
|
int |
n_contact, |
|
|
double * |
coord, |
|
|
double * |
normal, |
|
|
double |
depth |
|
) |
| |
|
protected |
◆ coords
| std::vector<fVec3> SDContactPair::coords |
|
protected |
◆ damper
| double SDContactPair::damper |
|
protected |
◆ depths
| std::vector<double> SDContactPair::depths |
|
protected |
◆ in_slip
| int SDContactPair::in_slip |
|
protected |
◆ init_att
| fMat33 SDContactPair::init_att |
|
protected |
◆ init_pos
| fVec3 SDContactPair::init_pos |
|
protected |
◆ init_set
| int SDContactPair::init_set |
|
protected |
◆ joints
| Joint* SDContactPair::joints[2] |
|
protected |
◆ normals
| std::vector<fVec3> SDContactPair::normals |
|
protected |
◆ slip_d
| double SDContactPair::slip_d |
|
protected |
◆ slip_fric
| double SDContactPair::slip_fric |
|
protected |
◆ slip_func_coef_base
| double SDContactPair::slip_func_coef_base |
|
protected |
◆ slip_p
| double SDContactPair::slip_p |
|
protected |
◆ spring
| double SDContactPair::spring |
|
protected |
◆ static_fric
| double SDContactPair::static_fric |
|
protected |
The documentation for this class was generated from the following files: