ball.contact.list

Syntax

l = ball.contact.list(bp<,i,p>)

Get a list of active contacts around a ball. The optional arguments enable filtering by contact type and/or contacting piece pointer.

Returns:

l - list of contacts

Note

Iterate over a FISH list using the loop foreach construct.

Arguments:

bp - ball pointer

i - optional unique contact type identification integer

p - optional piece pointer