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.

C#
public override bool Equals(object o);

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

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

Equals(Rect3D)

Compares two Rect3D instances for equality.

C#
public bool Equals(System.Windows.Media.Media3D.Rect3D value);

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

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

Equals(Rect3D, Rect3D)

Compares two Rect3D instances for equality.

C#
public static bool Equals(System.Windows.Media.Media3D.Rect3D rect1, System.Windows.Media.Media3D.Rect3D rect2);

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

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10