แก้ไข

แชร์ผ่าน


Rect3D.Equals Method

Definition

Compares two Rect3D instances for equality.

Overloads

Equals(Object)

Compares two Rect3D instances for equality.

Equals(Rect3D)

Compares two Rect3D instances for equality.

Equals(Rect3D, Rect3D)

Compares two Rect3D instances for equality.

Remarks

Note that values of type Double might acquire error when operated upon; an exact comparison between two logically-equal values might fail.

Equals(Object)

Compares two Rect3D instances for equality.

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

Parameters

o
Object

The object to compare.

Returns

true if the two specified Rect3D instances are exactly equal; false otherwise.

Remarks

Note that values of type Double might acquire error when operated upon; an exact comparison between two logically-equal Rect3D values might fail.

Rect3D is typically used to represent the bounds of a MeshGeometry3D or Model3D.

Applies to

Equals(Rect3D)

Compares two Rect3D instances for equality.

public:
 bool Equals(System::Windows::Media::Media3D::Rect3D value);
public bool Equals (System.Windows.Media.Media3D.Rect3D value);
override this.Equals : System.Windows.Media.Media3D.Rect3D -> bool
Public Function Equals (value As Rect3D) As Boolean

Parameters

value
Rect3D

The Rect3D instance to compare with the current instance.

Returns

true if the two specified Rect3D instances are exactly equal; false otherwise.

Remarks

Note that values of type Double might acquire error when operated upon; an exact comparison between two logically-equal Rect3D values might fail.

Rect3D is typically used to represent the bounds of a MeshGeometry3D or Model3D.

Applies to

Equals(Rect3D, Rect3D)

Compares two Rect3D instances for equality.

public:
 static bool Equals(System::Windows::Media::Media3D::Rect3D rect1, System::Windows::Media::Media3D::Rect3D rect2);
public static bool Equals (System.Windows.Media.Media3D.Rect3D rect1, System.Windows.Media.Media3D.Rect3D rect2);
static member Equals : System.Windows.Media.Media3D.Rect3D * System.Windows.Media.Media3D.Rect3D -> bool
Public Shared Function Equals (rect1 As Rect3D, rect2 As Rect3D) As Boolean

Parameters

rect1
Rect3D

First Rect3D to compare.

rect2
Rect3D

Second Rect3D to compare.

Returns

true if the two specified Rect3D instances are exactly equal; false otherwise.

Remarks

Note that values of type Double might acquire error when operated upon; an exact comparison between two logically-equal Rect3D values might fail.

Rect3D s typically used to represent the bounds of a MeshGeometry3D or Model3D.

Applies to