ball.contact.list.all

Syntax

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

Get a list of all contacts around a ball. Inactive contacts are included. 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