ball.contactmap

Syntax

m = ball.contactmap(bp<,i,p>)

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

Returns:

m - map of contacts

Note

Iterate over a FISH map using the loop foreach construct.

Arguments:

bp - ball pointer

i - optional unique contact type identification integer

p - optional piece pointer