# 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.