Plane.Equality(Plane, Plane) 运算符

定义

返回一个值,该值指示两个平面是否相等。Returns a value that indicates whether two planes are equal.

public:
 static bool operator ==(System::Numerics::Plane value1, System::Numerics::Plane value2);
public static bool operator == (System.Numerics.Plane value1, System.Numerics.Plane value2);
static member ( = ) : System.Numerics.Plane * System.Numerics.Plane -> bool
Public Shared Operator == (value1 As Plane, value2 As Plane) As Boolean

参数

value1
Plane

要比较的第一个平面。The first plane to compare.

value2
Plane

要比较的第二个平面。The second plane to compare.

返回

Boolean

如果 value1value2 相等,则为 true;否则为 falsetrue if value1 and value2 are equal; otherwise, false.

注解

如果两个 Plane 对象的 Normal 和字段相等,则这两个对象相等 DTwo Plane objects are equal if their Normal and D fields are equal.

Equality方法定义对象的相等运算符的运算 PlaneThe Equality method defines the operation of the equality operator for Plane objects.

适用于