Uredi

Deli z drugimi prek


Quaternion.Equals Method

Definition

Returns a value that indicates whether this instance and a specified Quaternion instance or a specified object are equal.

Overloads

Equals(Quaternion)

Returns a value that indicates whether this instance and another quaternion are equal.

Equals(Object)

Returns a value that indicates whether this instance and a specified object are equal.

Equals(Quaternion)

Source:
Quaternion.cs
Source:
Quaternion.cs
Source:
Quaternion.cs

Returns a value that indicates whether this instance and another quaternion are equal.

public:
 virtual bool Equals(System::Numerics::Quaternion other);
public bool Equals (System.Numerics.Quaternion other);
public readonly bool Equals (System.Numerics.Quaternion other);
override this.Equals : System.Numerics.Quaternion -> bool
Public Function Equals (other As Quaternion) As Boolean

Parameters

other
Quaternion

The other quaternion.

Returns

true if the two quaternions are equal; otherwise, false.

Implements

Remarks

Two quaternions are equal if each of their corresponding components is equal.

Applies to

Equals(Object)

Source:
Quaternion.cs
Source:
Quaternion.cs
Source:
Quaternion.cs

Returns a value that indicates whether this instance and a specified object are equal.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
public override readonly bool Equals (object? obj);
public override readonly bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

The object to compare with the current instance.

Returns

true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false.

Remarks

The current instance and obj are equal if obj is a Quaternion object and the corresponding components of each matrix are equal.

Applies to