dMass Struct Reference

struct dMass

Constructor & Destructor Documentation

dMass()

dMass ( ) [inline]

Member Functions Documentation

add(const dMass *)

void add ( const dMass * b ) [inline]

Parameters

const dMass * b

adjust(dReal)

void adjust ( dReal newmass ) [inline]

Parameters

dReal newmass

rotate(const dMatrix3)

void rotate ( const dMatrix3 R ) [inline]

Parameters

const dMatrix3 R

setBox(dReal, dReal, dReal, dReal)

void setBox ( dReal density,
dReal lx,
dReal ly,
dReal lz
) [inline]

Parameters

dReal density
dReal lx
dReal ly
dReal lz

setCappedCylinder(dReal, int, dReal, dReal)

void setCappedCylinder ( dReal density,
int direction,
dReal a,
dReal b
) [inline]

Parameters

dReal density
int direction
dReal a
dReal b

setCapsule(dReal, int, dReal, dReal)

void setCapsule ( dReal density,
int direction,
dReal a,
dReal b
) [inline]

Parameters

dReal density
int direction
dReal a
dReal b

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

void setParameters ( dReal themass,
dReal cgx,
dReal cgy,
dReal cgz,
dReal I11,
dReal I22,
dReal I33,
dReal I12,
dReal I13,
dReal I23
) [inline]

setSphere(dReal, dReal)

void setSphere ( dReal density,
dReal radius
) [inline]

Parameters

dReal density
dReal radius

setZero()

void setZero ( ) [inline]

translate(dReal, dReal, dReal)

void translate ( dReal x,
dReal y,
dReal z
) [inline]

Parameters

dReal x
dReal y
dReal z

Member Data Documentation

dMatrix3 I

dMatrix3 I

dVector4 c

dVector4 c

dReal mass

dReal mass