Plane Structure |
Defines a plane in three dimensions.
A default constructed one is Empty.
You are unlikely to ever directly construct one, you'd use one of the static methods returning a Plane, e.g. FromPointNormal(Vector3, Vector3)
Namespace: Microsoft.DirectX
[SerializableAttribute] public struct Plane : IEquatable<Plane>
The Plane type exposes the following members.
| Name | Description | |
|---|---|---|
| Plane(Plane) |
Initializes a new instance of the Plane struct.
| |
| Plane(Vector3, Double) |
Initializes a new instance of the Plane struct.
| |
| Plane(Double, Double, Double, Double) |
Initializes a new instance of the Plane struct.
| |
| Plane(Single, Single, Single, Single) |
Initializes a new instance of the Plane struct.
|
| Name | Description | |
|---|---|---|
| DD |
Gets or sets the distance of the Plane along its normal from the origin as a Double.
| |
| Empty |
A Plane with all of its components set to zero.
| |
| Normal |
Return the Plane normal
| |
| Normalized | Plane normalization - make length of normal be 1
| |
| XD |
Gets or sets the X component of the normal to the Plane as a Double.
| |
| YD |
Gets or sets the Y component of the normal to the Plane as a Double.
| |
| ZD |
Gets or sets the Z component of the normal to the Plane as a Double.
|
| Name | Description | |
|---|---|---|
| Dot(Vector3) |
Dot product of Vector3 as a coordinate and this Plane | |
| Dot(Vector4) |
Dot product of Vector4 and this Plane | |
| Dot(Plane, Vector3) |
Dot product of Vector3 as a coordinate and Plane | |
| Dot(Plane, Vector4) |
Dot product of Vector4 and Plane | |
| DotD(Vector3) |
Dot product of Vector3 as a coordinate and this Plane | |
| DotD(Vector4) |
Dot product of Vector4 and this Plane | |
| DotD(Plane, Vector3) |
Dot product of Vector3 as a coordinate and Plane | |
| DotD(Plane, Vector4) |
Dot product of Vector4 and Plane | |
| DotNormal(Vector3) |
Dot product of Vector3 and this Plane normal
| |
| DotNormal(Plane, Vector3) |
Dot product of Vector3 and Plane normal
| |
| DotNormalD(Vector3) |
Dot product of Vector3 and this Plane normal
| |
| DotNormalD(Plane, Vector3) |
Dot product of Vector3 and Plane normal
| |
| Equals(Object) | Plane exact equality - see EQ(Plane, Plane) for alternative
(Overrides ValueTypeEquals(Object).) | |
| Equals(Plane) |
Exact value equality - see EQ(Plane, Plane) for alternative
| |
| FromPointNormal | ||
| FromPoints |
Create a Plane from three Vector3 coordinates
| |
| GetHashCode |
Returns the hash code for the current Plane.
(Overrides ValueTypeGetHashCode.) | |
| IntersectLine | ||
| Normalize | Plane normalization - make length of normal be 1
| |
| Normalize(Plane) | Plane normalization - make length of normal be 1
| |
| Scale(Double) |
Scale the Plane | |
| Scale(Single) |
Scale the Plane | |
| Scale(Plane, Double) |
Scale the Plane | |
| Scale(Plane, Single) |
Scale the Plane | |
| ToString |
Returns a string that represents the current Plane.
(Overrides ValueTypeToString.) | |
| Transform(Matrix) |
Transform Plane by Matrix | |
| Transform(Plane, Matrix) |
Transform Plane by Matrix |
| Name | Description | |
|---|---|---|
| Equality |
Exact value equality - see EQ(Plane, Plane) for alternative
| |
| Inequality |
Exact value inequality - see NE(Plane, Plane) for alternative
|
| Name | Description | |
|---|---|---|
| D |
Gets or sets the distance of the Plane along its normal from the origin as a Single.
| |
| X |
Gets or sets the X component of the normal to the Plane as a Single.
| |
| Y |
Gets or sets the Y component of the normal to the Plane as a Single.
| |
| Z |
Gets or sets the Z component of the normal to the Plane as a Single.
|