Motion<T>.Equals Method (Motion<T>) |
Indicates whether another instance of this type is exactly equal to this instance.
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic bool Equals(
Motion<T> other
)
Public Function Equals (
other As Motion(Of T)
) As Boolean
public:
virtual bool Equals(
Motion<T> other
) sealed
abstract Equals :
other : Motion<'T> -> bool
override Equals :
other : Motion<'T> -> bool
Parameters
- other
- Type: AGI.Foundation.Motion<T>
The instance to compare to this instance.
Return Value
Type:
Booleantrue if
other represents the same value as this instance; otherwise
false.
Implements
IEquatable<T>.Equals(T)
Remarks
For two Motion instances to be considered equal, the value and derivatives of each
must compare as equal.
See Also