base_interaction

class interaction.base_interaction[source]

Bases: object

This is generic pair interaction and this is a long comment continuing here

Attributes Summary

creation_time

[optional] time when the interaction was created (example of optional data)

id1

[mandatory] id of body 1

id2

[mandatory] id of body 2

model

[mandatory] which model applies to this interaction

virtual

[optional] weither the interaction is real (else it is in a virtual state - typically without contact)

Attributes Documentation

creation_time: float = 0

[optional] time when the interaction was created (example of optional data)

id1: int = None

[mandatory] id of body 1

id2: int = None

[mandatory] id of body 2

model: str = None

[mandatory] which model applies to this interaction

virtual: bool = False

[optional] weither the interaction is real (else it is in a virtual state - typically without contact)

model: str = None

[mandatory] which model applies to this interaction

id1: int = None

[mandatory] id of body 1

id2: int = None

[mandatory] id of body 2

virtual: bool = False

[optional] weither the interaction is real (else it is in a virtual state - typically without contact)

creation_time: float = 0

[optional] time when the interaction was created (example of optional data)