Edit

Share via


Plane.Create Method

Definition

Overloads

Create(Vector4)

Creates a Plane from a specified four-dimensional vector.

Create(Vector3, Single)

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

Create(Single, Single, Single, Single)

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

Create(Vector4)

Creates a Plane from a specified four-dimensional vector.

public:
 static System::Numerics::Plane Create(System::Numerics::Vector4 value);
public static System.Numerics.Plane Create(System.Numerics.Vector4 value);
static member Create : System.Numerics.Vector4 -> System.Numerics.Plane
Public Shared Function Create (value As Vector4) As Plane

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.

Returns

Remarks

A Plane created using value.

Applies to

Create(Vector3, Single)

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

public:
 static System::Numerics::Plane Create(System::Numerics::Vector3 normal, float d);
public static System.Numerics.Plane Create(System.Numerics.Vector3 normal, float d);
static member Create : System.Numerics.Vector3 * single -> System.Numerics.Plane
Public Shared Function Create (normal As Vector3, d As Single) As Plane

Parameters

normal
Vector3

The plane's normal vector.

d
Single

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

Returns

A Plane created from a specified normal and the distance along the normal from the origin.

Applies to

Create(Single, Single, Single, Single)

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

public:
 static System::Numerics::Plane Create(float x, float y, float z, float d);
public static System.Numerics.Plane Create(float x, float y, float z, float d);
static member Create : single * single * single * single -> System.Numerics.Plane
Public Shared Function Create (x As Single, y As Single, z As Single, d As Single) As Plane

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.

Returns

A Plane created from the X, Y, and Z components of its normal, and its distance from the origin on that normal.

Applies to