Click or drag to resize

ContactEdge Class

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.
Inheritance Hierarchy
SystemObject
  Internal.tainicom.Aether.Physics2D.Dynamics.ContactsContactEdge

Namespace:  Internal.tainicom.Aether.Physics2D.Dynamics.Contacts
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public sealed class ContactEdge

The ContactEdge type exposes the following members.

Constructors
  NameDescription
Public methodContactEdge
Initializes a new instance of the ContactEdge class
Top
Properties
  NameDescription
Public propertyContact
The contact
Public propertyNext
The next contact edge in the body's contact list
Public propertyOther
Provides quick access to the other body attached.
Public propertyPrev
The previous contact edge in the body's contact list
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
See Also