Struct DVector3
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 DVector3 : IEquatable<DVector3>, IComparable<DVector3>
Constructors
View SourceDVector3(Double)
public DVector3(double value)
DVector3(Double, Double, Double)
public DVector3(double x, double y, double z)
DVector3((Double x, Double y, Double z))
public DVector3((double x, double y, double z) tuple)
Fields
View SourceMaxValue
public static DVector3 MaxValue
MinValue
public static DVector3 MinValue
NumComponents
public const int NumComponents = 3
One
public static DVector3 One
UnitX
public static DVector3 UnitX
UnitY
public static DVector3 UnitY
UnitZ
public static DVector3 UnitZ
X
[DataMember]
public readonly double X
Y
[DataMember]
public readonly double Y
Z
[DataMember]
public readonly double Z
Zero
public static DVector3 Zero
Properties
View SourceVector3
public readonly Vector3 Vector3 { get; }
Methods
View SourceAlmostEquals(DVector3, Single)
public readonly bool AlmostEquals(DVector3 x, float tolerance = 1E-07F)
AlmostZero(Single)
public readonly bool AlmostZero(float tolerance = 1E-07F)
AnyComponentNegative()
public readonly bool AnyComponentNegative()
CompareTo(DVector3)
public readonly int CompareTo(DVector3 x)
Create(Double, Double, Double)
public static DVector3 Create(double x, double y, double z)
Create((Double x, Double y, Double z))
public static DVector3 Create((double x, double y, double z) tuple)
Deconstruct(out Double, out Double, out Double)
public readonly void Deconstruct(out double x, out double y, out double z)
Dot(DVector3)
public readonly double Dot(DVector3 value)
Dot(DVector3, DVector3)
public static double Dot(DVector3 value1, DVector3 value2)
Equals(Object)
public override readonly bool Equals(object obj)
Overrides
System.ValueType.Equals(System.Object)
View Source
Equals(DVector3)
public readonly bool Equals(DVector3 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()
SetX(Double)
public readonly DVector3 SetX(double x)
SetY(Double)
public readonly DVector3 SetY(double x)
SetZ(Double)
public readonly DVector3 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, DVector3)
public static DVector3 operator +(double value1, DVector3 value2)
Addition(DVector3, Double)
public static DVector3 operator +(DVector3 value1, double value2)
Addition(DVector3, DVector3)
public static DVector3 operator +(DVector3 value1, DVector3 value2)
Division(Double, DVector3)
public static DVector3 operator /(double value1, DVector3 value2)
Division(DVector3, Double)
public static DVector3 operator /(DVector3 value1, double value2)
Division(DVector3, DVector3)
public static DVector3 operator /(DVector3 value1, DVector3 value2)
Equality(DVector3, DVector3)
public static bool operator ==(DVector3 x0, DVector3 x1)
GreaterThan(DVector3, DVector3)
public static bool operator>(DVector3 x0, DVector3 x1)
GreaterThanOrEqual(DVector3, DVector3)
public static bool operator >=(DVector3 x0, DVector3 x1)
Implicit((Double x, Double y, Double z) to DVector3)
public static implicit operator DVector3((double x, double y, double z) tuple)
Implicit(DVector3 to (Double x, Double y, Double z))
public static implicit operator (double x, double y, double z)(DVector3 self)
Inequality(DVector3, DVector3)
public static bool operator !=(DVector3 x0, DVector3 x1)
LessThan(DVector3, DVector3)
public static bool operator <(DVector3 x0, DVector3 x1)
LessThanOrEqual(DVector3, DVector3)
public static bool operator <=(DVector3 x0, DVector3 x1)
Multiply(Double, DVector3)
public static DVector3 operator *(double value1, DVector3 value2)
Multiply(DVector3, Double)
public static DVector3 operator *(DVector3 value1, double value2)
Multiply(DVector3, DVector3)
public static DVector3 operator *(DVector3 value1, DVector3 value2)
Subtraction(Double, DVector3)
public static DVector3 operator -(double value1, DVector3 value2)
Subtraction(DVector3, Double)
public static DVector3 operator -(DVector3 value1, double value2)
Subtraction(DVector3, DVector3)
public static DVector3 operator -(DVector3 value1, DVector3 value2)
UnaryNegation(DVector3)
public static DVector3 operator -(DVector3 value)
Implements
System.IEquatable<T>
System.IComparable<T>