clump.pebble.contact.list

Syntax

l = clump.pebble.contact.list(p<,i><,q>)

Get the 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:

p - pebble pointer

i - optional contact typeid used to filter the returned contacts

q - Optional piece pointer that can either be a ball, pebble, or facet pointer.