ContactPointEqualityComparer Class
Namespace: Stride.PhysicsAssembly: Stride.Physics.dll
System.Object → System.Collections.Generic.EqualityComparer<ContactPoint> →
ContactPointEqualityComparer
Derived from ContactPointEqualityComparer:
public class ContactPointEqualityComparer : EqualityComparer<ContactPoint>, IEqualityComparer<ContactPoint>, IEqualityComparer
Name | Description | |
---|---|---|
Fields | ||
Default | Gets the default. |
|
Methods | ||
Equals(ContactPoint, ContactPoint) | ||
GetHashCode(ContactPoint) |
Fields
Default
Gets the default.
public static readonly ContactPointEqualityComparer Default
Field Value
Type | Description |
---|---|
ContactPointEqualityComparer |
Methods
Equals(ContactPoint, ContactPoint)
public override bool Equals(ContactPoint x, ContactPoint y)
Parameters
Type | Name | Description |
---|---|---|
ContactPoint | x | |
ContactPoint | y |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Collections.Generic.EqualityComparer<Stride.Physics.ContactPoint>.Equals(Stride.Physics.ContactPoint, Stride.Physics.ContactPoint)
GetHashCode(ContactPoint)
public override int GetHashCode(ContactPoint obj)
Parameters
Type | Name | Description |
---|---|---|
ContactPoint | obj |
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Collections.Generic.EqualityComparer<Stride.Physics.ContactPoint>.GetHashCode(Stride.Physics.ContactPoint)
Inherited Members
System.Collections.Generic.EqualityComparer<Stride.Physics.ContactPoint>.System.Collections.IEqualityComparer.Equals(System.Object, System.Object)
System.Collections.Generic.EqualityComparer<Stride.Physics.ContactPoint>.System.Collections.IEqualityComparer.GetHashCode(System.Object)