Rect3D.Equality(Rect3D, Rect3D) 运算符

定义

比较两个 Rect3D 实例是否完全相等。

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

参数

rect1
Rect3D

要计算的第一个 Rect3D

rect2
Rect3D

要计算的第二个 Rect3D

返回

Boolean

如果两个 Rect3D 实例完全相等,则为 true;否则为 false

注解

Rect3D通常用于表示或Model3D的边界MeshGeometry3D

适用于