Struct DoublePlane
- Namespace
- OmegaEngine.Foundation.Geometry
- Assembly
- OmegaEngine.Foundation.dll
Defines a plane in three dimensions with double distance accuracy.
[TypeConverter(typeof(DoublePlaneConverter))]
public struct DoublePlane : IEquatable<DoublePlane>
- Implements
Constructors
DoublePlane(DoubleVector3, Vector3)
Defines a plane in three dimensions with double distance accuracy.
public DoublePlane(DoubleVector3 point, Vector3 normal)
Parameters
pointDoubleVector3A point that lies along the plane.
normalVector3The normal vector of the plane.
Properties
Normal
The normal vector of the plane.
public Vector3 Normal { readonly get; set; }
Property Value
- Vector3
Point
A point that lies along the plane.
public readonly DoubleVector3 Point { get; }
Property Value
Methods
ApplyOffset(DoubleVector3)
Returns a single-precision standard SlimDX.Plane after subtracting an offset value.
public readonly Plane ApplyOffset(DoubleVector3 offset)
Parameters
offsetDoubleVector3This value is subtracted from the double-precision data before it is casted to single-precision.
Returns
- Plane
The newly positioned SlimDX.Plane.
Equals(DoublePlane)
public readonly bool Equals(DoublePlane other)
Parameters
otherDoublePlane
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override readonly int GetHashCode()
Returns
ToString()
public override readonly string ToString()
Returns
Operators
operator ==(DoublePlane, DoublePlane)
public static bool operator ==(DoublePlane left, DoublePlane right)
Parameters
leftDoublePlanerightDoublePlane
Returns
operator !=(DoublePlane, DoublePlane)
public static bool operator !=(DoublePlane left, DoublePlane right)
Parameters
leftDoublePlanerightDoublePlane