Table of Contents

Class ContactEdge

Namespace
Alis.Core.Physic.Dynamics.Contacts
Assembly
Alis.dll

A contact edge is used to connect bodies and contacts together in a contact graph where each body is a node and each contact is an edge. A contact edge belongs to a doubly linked list maintained in each attached body. Each contact has two contact nodes, one for each attached body.

public sealed class ContactEdge

Inheritance

Inherited Members

Properties

Contact

The contact

public Contact Contact { get; internal set; }

Property Value

Contact

Next

The next contact edge in the body's contact list

public ContactEdge Next { get; internal set; }

Property Value

ContactEdge

Other

Provides quick access to the other body attached.

public Body Other { get; internal set; }

Property Value

Body

Prev

The previous contact edge in the body's contact list

public ContactEdge Prev { get; internal set; }

Property Value

ContactEdge