Method Equals
Equals(XVector, XVector)
Compares two vectors for equality.
public static bool Equals(XVector vector1, XVector vector2)
Parameters
Returns
- bool
Equals(object?)
Determines whether the specified Object is a Vector structure and, if it is, whether it has the same X and Y values as this vector.
public override bool Equals(object? o)
Parameters
oobjectThe vector to compare.
Returns
- bool
Equals(XVector)
Compares two vectors for equality.
public bool Equals(XVector value)
Parameters
valueXVectorThe vector to compare with this vector.
Returns
- bool