Struct DVector4
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Vim.Math3d
Assembly: Vim.Math3D.dll
[DataContract]
public readonly struct DVector4 : IEquatable<DVector4>, IComparable<DVector4>
Constructors
View SourceDVector4(Double)
public DVector4(double value)
DVector4(Double, Double, Double, Double)
public DVector4(double x, double y, double z, double w)
DVector4((Double x, Double y, Double z, Double w))
public DVector4((double x, double y, double z, double w) tuple)
Fields
View SourceMaxValue
public static DVector4 MaxValue
MinValue
public static DVector4 MinValue
NumComponents
public const int NumComponents = 4
One
public static DVector4 One
UnitW
public static DVector4 UnitW
UnitX
public static DVector4 UnitX
UnitY
public static DVector4 UnitY
UnitZ
public static DVector4 UnitZ
W
[DataMember]
public readonly double W
X
[DataMember]
public readonly double X
Y
[DataMember]
public readonly double Y
Z
[DataMember]
public readonly double Z
Zero
public static DVector4 Zero
Properties
View SourceVector4
public readonly Vector4 Vector4 { get; }
Methods
View SourceAlmostEquals(DVector4, Single)
public readonly bool AlmostEquals(DVector4 x, float tolerance = 1E-07F)
AlmostZero(Single)
public readonly bool AlmostZero(float tolerance = 1E-07F)
AnyComponentNegative()
public readonly bool AnyComponentNegative()
CompareTo(DVector4)
public readonly int CompareTo(DVector4 x)
Create(Double, Double, Double, Double)
public static DVector4 Create(double x, double y, double z, double w)
Create((Double x, Double y, Double z, Double w))
public static DVector4 Create((double x, double y, double z, double w) tuple)
Deconstruct(out Double, out Double, out Double, out Double)
public readonly void Deconstruct(out double x, out double y, out double z, out double w)
Dot(DVector4)
public readonly double Dot(DVector4 value)
Dot(DVector4, DVector4)
public static double Dot(DVector4 value1, DVector4 value2)
Equals(Object)
public override readonly bool Equals(object obj)
Overrides
System.ValueType.Equals(System.Object)
View Source
Equals(DVector4)
public readonly bool Equals(DVector4 x)
GetComponent(Int32)
public readonly double GetComponent(int n)
GetHashCode()
public override readonly int GetHashCode()
Overrides
System.ValueType.GetHashCode()
View Source
IsInfinity()
public readonly bool IsInfinity()
IsNaN()
public readonly bool IsNaN()
Magnitude()
public readonly double Magnitude()
MagnitudeSquared()
public readonly double MagnitudeSquared()
MaxComponent()
public readonly double MaxComponent()
MinComponent()
public readonly double MinComponent()
ProductComponents()
public readonly double ProductComponents()
SetW(Double)
public readonly DVector4 SetW(double x)
SetX(Double)
public readonly DVector4 SetX(double x)
SetY(Double)
public readonly DVector4 SetY(double x)
SetZ(Double)
public readonly DVector4 SetZ(double x)
SumComponents()
public readonly double SumComponents()
SumSqrComponents()
public readonly double SumSqrComponents()
ToString()
public override readonly string ToString()
Overrides
System.ValueType.ToString()
Operators
View SourceAddition(Double, DVector4)
public static DVector4 operator +(double value1, DVector4 value2)
Addition(DVector4, Double)
public static DVector4 operator +(DVector4 value1, double value2)
Addition(DVector4, DVector4)
public static DVector4 operator +(DVector4 value1, DVector4 value2)
Division(Double, DVector4)
public static DVector4 operator /(double value1, DVector4 value2)
Division(DVector4, Double)
public static DVector4 operator /(DVector4 value1, double value2)
Division(DVector4, DVector4)
public static DVector4 operator /(DVector4 value1, DVector4 value2)
Equality(DVector4, DVector4)
public static bool operator ==(DVector4 x0, DVector4 x1)
GreaterThan(DVector4, DVector4)
public static bool operator>(DVector4 x0, DVector4 x1)
GreaterThanOrEqual(DVector4, DVector4)
public static bool operator >=(DVector4 x0, DVector4 x1)
Implicit((Double x, Double y, Double z, Double w) to DVector4)
public static implicit operator DVector4((double x, double y, double z, double w) tuple)
Implicit(DVector4 to (Double x, Double y, Double z, Double w))
public static implicit operator (double x, double y, double z, double w)(DVector4 self)
Inequality(DVector4, DVector4)
public static bool operator !=(DVector4 x0, DVector4 x1)
LessThan(DVector4, DVector4)
public static bool operator <(DVector4 x0, DVector4 x1)
LessThanOrEqual(DVector4, DVector4)
public static bool operator <=(DVector4 x0, DVector4 x1)
Multiply(Double, DVector4)
public static DVector4 operator *(double value1, DVector4 value2)
Multiply(DVector4, Double)
public static DVector4 operator *(DVector4 value1, double value2)
Multiply(DVector4, DVector4)
public static DVector4 operator *(DVector4 value1, DVector4 value2)
Subtraction(Double, DVector4)
public static DVector4 operator -(double value1, DVector4 value2)
Subtraction(DVector4, Double)
public static DVector4 operator -(DVector4 value1, double value2)
Subtraction(DVector4, DVector4)
public static DVector4 operator -(DVector4 value1, DVector4 value2)
UnaryNegation(DVector4)
public static DVector4 operator -(DVector4 value)
Implements
System.IEquatable<T>
System.IComparable<T>