Επεξεργασία

Κοινή χρήση μέσω


Plane Constructors

Definition

Instantiates a new Plane object.

Overloads

Plane(Vector4)

Creates a Plane object from a specified four-dimensional vector.

Plane(Vector3, Single)

Creates a Plane object from a specified normal and the distance along the normal from the origin.

Plane(Single, Single, Single, Single)

Creates a Plane object from the X, Y, and Z components of its normal, and its distance from the origin on that normal.

Plane(Vector4)

Source:
Plane.cs
Source:
Plane.cs
Source:
Plane.cs

Creates a Plane object from a specified four-dimensional vector.

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)

Parameters

value
Vector4

A vector whose first three elements describe the normal vector, and whose W defines the distance along that normal from the origin.

Applies to

Plane(Vector3, Single)

Source:
Plane.cs
Source:
Plane.cs
Source:
Plane.cs

Creates a Plane object from a specified normal and the distance along the normal from the origin.

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)

Parameters

normal
Vector3

The plane's normal vector.

d
Single

The plane's distance from the origin along its normal vector.

Applies to

Plane(Single, Single, Single, Single)

Source:
Plane.cs
Source:
Plane.cs
Source:
Plane.cs

Creates a Plane object from the X, Y, and Z components of its normal, and its distance from the origin on that normal.

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)

Parameters

x
Single

The X component of the normal.

y
Single

The Y component of the normal.

z
Single

The Z component of the normal.

d
Single

The distance of the plane along its normal from the origin.

Applies to