# Plane 结构

## 定义

``public value class Plane : IEquatable<System::Numerics::Plane>``
``public struct Plane : IEquatable<System.Numerics.Plane>``
``type Plane = struct``
``````Public Structure Plane
Implements IEquatable(Of Plane)``````

## 构造函数

 从其法线的 X、Y 和 Z 分量以及距该法线上距原点的距离创建一个 Plane 对象。Creates a Plane object from the X, Y, and Z components of its normal, and its distance from the origin on that normal. 从指定法线以及从原点沿法线的距离创建一个 Plane 对象。Creates a Plane object from a specified normal and the distance along the normal from the origin. 从指定的四维向量创建一个 Plane 对象。Creates a Plane object from a specified four-dimensional vector.

## 字段

 平面从原点沿其法线的距离。The distance of the plane along its normal from the origin. 平面的法向量。The normal vector of the plane.

## 方法

 创建一个 Plane 对象，其中包含三个指定的点。Creates a Plane object that contains three specified points. 计算平面和四维向量的点积。Calculates the dot product of a plane and a 4-dimensional vector. 返回指定的三维向量和此平面的法向量以及该平面的距离 (D) 值的点积。Returns the dot product of a specified three-dimensional vector and the normal vector of this plane plus the distance (D) value of the plane. 返回指定的三维向量以及此平面的 Normal 向量的点积。Returns the dot product of a specified three-dimensional vector and the Normal vector of this plane. 返回一个值，该值指示此实例是否与指定对象相等。Returns a value that indicates whether this instance and a specified object are equal. 返回一个值，该值指示此实例是否与另一个平面对象相等。Returns a value that indicates whether this instance and another plane object are equal. 返回此实例的哈希代码。Returns the hash code for this instance. 创建一个新的 Plane 对象，其法向量是源平面的规范化的法向量。Creates a new Plane object whose normal vector is the source plane's normal vector normalized. 返回此平面对象的字符串表示形式。Returns the string representation of this plane object. 通过 4x4 矩阵转换规范化的平面。Transforms a normalized plane by a 4x4 matrix. 通过四元数旋转转换规范化平面。Transforms a normalized plane by a Quaternion rotation.

## 运算符

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