Plane 建構函式

定義

具現化新的 Plane 物件。

多載

Plane(Vector4)

從指定的四維向量,建立 Plane 物件。

Plane(Vector3, Single)

從指定的法線以及原點到法線的距離,建立 Plane 物件。

Plane(Single, Single, Single, Single)

從法線的 X、Y 和 Z 元件以及原點到該法線的距離,建立 Plane 物件。

Plane(Vector4)

來源:
Plane.cs
來源:
Plane.cs
來源:
Plane.cs

從指定的四維向量,建立 Plane 物件。

public:
 Plane(System::Numerics::Vector4 value);
public Plane (System.Numerics.Vector4 value);
new System.Numerics.Plane : System.Numerics.Vector4 -> System.Numerics.Plane
Public Sub New (value As Vector4)

參數

value
Vector4

向量的前三個項目說明法向量,其 W 則定義從原點到法線的距離。

適用於

Plane(Vector3, Single)

來源:
Plane.cs
來源:
Plane.cs
來源:
Plane.cs

從指定的法線以及原點到法線的距離,建立 Plane 物件。

public:
 Plane(System::Numerics::Vector3 normal, float d);
public Plane (System.Numerics.Vector3 normal, float d);
new System.Numerics.Plane : System.Numerics.Vector3 * single -> System.Numerics.Plane
Public Sub New (normal As Vector3, d As Single)

參數

normal
Vector3

平面的法向量。

d
Single

從原點到法向量的平面距離。

適用於

Plane(Single, Single, Single, Single)

來源:
Plane.cs
來源:
Plane.cs
來源:
Plane.cs

從法線的 X、Y 和 Z 元件以及原點到該法線的距離,建立 Plane 物件。

public:
 Plane(float x, float y, float z, float d);
public Plane (float x, float y, float z, float d);
new System.Numerics.Plane : single * single * single * single -> System.Numerics.Plane
Public Sub New (x As Single, y As Single, z As Single, d As Single)

參數

x
Single

法線的 X 元件。

y
Single

法線的 Y 元件。

z
Single

法線的 Z 元件。

d
Single

從原點到法線的平面距離。

適用於