Edit

Share via


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);

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

.NET 10 and other versions
Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0

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);

Parameters

normal
Vector3

The plane's normal vector.

d
Single

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

Applies to

.NET 10 and other versions
Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0

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);

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

.NET 10 and other versions
Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0