Click or drag to resize

Motion<T>.Equality Operator

Returns true if the two instances are exactly equal.

Namespace:  AGI.Foundation
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public static bool operator ==(
	Motion<T> left,
	Motion<T> right
)

Parameters

left
Type: AGI.Foundation.Motion<T>
The instance to compare to right.
right
Type: AGI.Foundation.Motion<T>
The instance to compare to left.

Return Value

Type: Boolean
true if left represents the same value as right; otherwise false.
Remarks
For two Motion instances to be considered equal, the value and derivatives of each must compare as equal.
See Also