dMass Struct Reference

struct dMass

Constructor & Destructor Documentation

dMass()

dMass()[inline]

Member Functions Documentation

add(const dMass *)

voidadd(const dMass *b)[inline]

Parameters

const dMass * b

adjust(dReal)

voidadjust(dRealnewmass)[inline]

Parameters

dReal newmass

rotate(const dMatrix3)

voidrotate(const dMatrix3R)[inline]

Parameters

const dMatrix3 R

setBox(dReal, dReal, dReal, dReal)

voidsetBox(dRealdensity,
dReallx,
dReally,
dReallz
)[inline]

Parameters

dReal density
dReal lx
dReal ly
dReal lz

setCappedCylinder(dReal, int, dReal, dReal)

voidsetCappedCylinder(dRealdensity,
intdirection,
dReala,
dRealb
)[inline]

Parameters

dReal density
int direction
dReal a
dReal b

setCapsule(dReal, int, dReal, dReal)

voidsetCapsule(dRealdensity,
intdirection,
dReala,
dRealb
)[inline]

Parameters

dReal density
int direction
dReal a
dReal b

setParameters(dReal, dReal, dReal, dReal, dReal, dReal, dReal, dReal, dReal, dReal)

voidsetParameters(dRealthemass,
dRealcgx,
dRealcgy,
dRealcgz,
dRealI11,
dRealI22,
dRealI33,
dRealI12,
dRealI13,
dRealI23
)[inline]

Parameters

dReal themass
dReal cgx
dReal cgy
dReal cgz
dReal I11
dReal I22
dReal I33
dReal I12
dReal I13
dReal I23

setSphere(dReal, dReal)

voidsetSphere(dRealdensity,
dRealradius
)[inline]

Parameters

dReal density
dReal radius

setZero()

voidsetZero()[inline]

translate(dReal, dReal, dReal)

voidtranslate(dRealx,
dRealy,
dRealz
)[inline]

Parameters

dReal x
dReal y
dReal z

Member Data Documentation

dMatrix3 I

dMatrix3 I

dVector4 c

dVector4 c

dReal mass

dReal mass