mpacts.contact.detectors. contactdetectorbase

In order to be able to use this module import it like this:

import mpacts.contact.detectors.contactdetectorbase
#or assign it to a shorter name
import mpacts.contact.detectors.contactdetectorbase as con

ContactDetectorBase

class mpacts.contact.detectors.contactdetectorbase.ContactDetectorBase

Bases: mpacts.core.command.Command

Abstract Base Class for all contactdetectors. Cannot be instatiated directly

Raises an exception This class cannot be instantiated from Python

ContactDetectorBase(name, parent, **kwargs)
get_contact_data((ContactDetectorBase)arg1) → ContactDataBase
perform_contactmodel((ContactDetectorBase)arg1, (int)arg2, (int)arg3) → None :

Performs the contactmodel for a given p1, p2 index pair. Main usage is debugging and testing.