contact.gap

Syntax

f = contact.gap(c)

Get the current value of the contact gap. The contact gap corresponds to the minimal signed distance between the contacting pieces; its computation is specific to the contact geometry.

Returns:f - contact gap
Arguments:c - contact pointer