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.
返回
如果 value1 和 value2 相等,则为 true;否则为 false。true if value1 and value2 are equal; otherwise, false.
注解
如果两个 Plane 对象的 Normal 和字段相等,则这两个对象相等 D 。Two Plane objects are equal if their Normal and D fields are equal.
Equality方法定义对象的相等运算符的运算 Plane 。The Equality method defines the operation of the equality operator for Plane objects.