<PackageReference Include="System.Numerics.Vectors" Version="4.5.0-rc1" />

System.Numerics.Plane

public struct Plane : IEquatable<Plane>
Represents a three-dimensional plane.
public float D

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

public Vector3 Normal

The normal vector of the plane.

public Plane(float x, float y, float z, float d)

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(Vector3 normal, float d)

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

public Plane(Vector4 value)

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

public static Plane CreateFromVertices(Vector3 point1, Vector3 point2, Vector3 point3)

Creates a Plane object that contains three specified points.

public static float Dot(Plane plane, Vector4 value)

Calculates the dot product of a plane and a 4-dimensional vector.

public static float DotCoordinate(Plane plane, Vector3 value)

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.

public static float DotNormal(Plane plane, Vector3 value)

Returns the dot product of a specified three-dimensional vector and the Normal vector of this plane.

public static Plane Normalize(Plane value)

Creates a new Plane object whose normal vector is the source plane&#39;s normal vector normalized.

public static bool op_Equality(Plane value1, Plane value2)

Returns a value that indicates whether two planes are equal.

public static bool op_Inequality(Plane value1, Plane value2)

Returns a value that indicates whether two planes are not equal.

public static Plane Transform(Plane plane, Matrix4x4 matrix)

Transforms a normalized plane by a 4x4 matrix.

public static Plane Transform(Plane plane, Quaternion rotation)

Transforms a normalized plane by a Quaternion rotation.

public bool Equals(Plane other)

Returns a value that indicates whether this instance and another plane object are equal.