contact.shear

Syntax

Vector Access

v = contact.shear(c<,i>)

Get the contact shear direction.

Returns:

v - shear direction vector or component

Arguments:

c - contact pointer

i - optional vector component

Component Access

f = contact.shear.x(c)

Get the x-component of the contact shear direction.

Returns:f - x-component of the contact shear direction vector
Arguments:c - contact pointer
f = contact.shear.y(c)

Get the y-component of the contact shear direction.

Returns:f - y-component of the contact shear direction vector
Arguments:c - contact pointer
f = contact.shear.z(c) (3D ONLY)

Get the z-component of the contact shear direction.

Returns:f - z-component of the contact shear direction vector
Arguments:c - contact pointer