Model.collisions
- Model.collisions()
Yield all collision pairs in the model.
- Yields:
- tuple[
Element
,Element
] The collision pairs.
- tuple[
Notes
Collisions are not identified automatically. To identify collision, run
identify_interactions()
orcompute_collisions()
first.