|
Simbody
3.4 (development)
|
This subclass of Contact represents a pair of contact surfaces that are not yet being tracked; there is no ContactId for them. More...
#include <Contact.h>
Inheritance diagram for SimTK::UntrackedContact:Public Member Functions | |
| UntrackedContact () | |
| Default constructor creates an empty handle. | |
| UntrackedContact (ContactSurfaceIndex surf1, ContactSurfaceIndex surf2) | |
| Create an UntrackedContact object. | |
Static Public Member Functions | |
| static bool | isInstance (const Contact &contact) |
| Determine whether a Contact object is an UntrackedContact. | |
| static ContactTypeId | classTypeId () |
| Obtain the unique small-integer id for the UntrackedContact class. | |
This subclass of Contact represents a pair of contact surfaces that are not yet being tracked; there is no ContactId for them.
We don't yet know what kind of Contact object would be appropriate for them, so this is a placeholder until a ContactTracker replaces it with something meaningful. The contact condition for one of these is always "Untracked".
| SimTK::UntrackedContact::UntrackedContact | ( | ) | [inline] |
Default constructor creates an empty handle.
Create an UntrackedContact object.
| surf1 | the index of the first surface involved in the contact, specified by its index within its contact set |
| surf2 | the index of the second surface involved in the contact, specified by its index within its contact set |
| static bool SimTK::UntrackedContact::isInstance | ( | const Contact & | contact | ) | [static] |
Determine whether a Contact object is an UntrackedContact.
| static ContactTypeId SimTK::UntrackedContact::classTypeId | ( | ) | [static] |
Obtain the unique small-integer id for the UntrackedContact class.