• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Vim.Math3d
    • AABox
    • AABox2D
    • AABox4D
    • AngularMotion
    • AxisAngle
    • Byte2
    • Byte3
    • Byte4
    • ColorHDR
    • ColorRGB
    • ColorRGBA
    • Complex
    • Constants
    • ContainmentType
    • CylindricalCoordinate
    • DAABox
    • DAABox2D
    • DAABox4D
    • DInterval
    • DPlane
    • DQuaternion
    • DRay
    • DSphere
    • DVector2
    • DVector3
    • DVector4
    • Euler
    • GeoCoordinate
    • Hash
    • HorizontalCoordinate
    • IMappable<TContainer, TPart>
    • Int2
    • Int3
    • Int4
    • Interval
    • IPoints
    • IPoints2D
    • ITransformable3D<TSelf>
    • Line
    • Line2D
    • LinearMotion
    • LinqUtil
    • LogPolarCoordinate
    • MathOps
    • Matrix4x4
    • Motion
    • MovementExtensions
    • Plane
    • PlaneIntersectionType
    • PolarCoordinate
    • Quad
    • Quad2D
    • Quaternion
    • Ray
    • Sphere
    • SphericalCoordinate
    • StatelessRandom
    • Stats<T>
    • Transform
    • Transformable3D
    • Triangle
    • Triangle2D
    • Vector2
    • Vector3
    • Vector4

Struct DVector4

Implements
System.IEquatable<DVector4>
System.IComparable<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 Source

DVector4(Double)

public DVector4(double value)
View Source

DVector4(Double, Double, Double, Double)

public DVector4(double x, double y, double z, double w)
View Source

DVector4((Double x, Double y, Double z, Double w))

public DVector4((double x, double y, double z, double w) tuple)

Fields

View Source

MaxValue

public static DVector4 MaxValue
View Source

MinValue

public static DVector4 MinValue
View Source

NumComponents

public const int NumComponents = 4
View Source

One

public static DVector4 One
View Source

UnitW

public static DVector4 UnitW
View Source

UnitX

public static DVector4 UnitX
View Source

UnitY

public static DVector4 UnitY
View Source

UnitZ

public static DVector4 UnitZ
View Source

W

[DataMember]
public readonly double W
View Source

X

[DataMember]
public readonly double X
View Source

Y

[DataMember]
public readonly double Y
View Source

Z

[DataMember]
public readonly double Z
View Source

Zero

public static DVector4 Zero

Properties

View Source

Vector4

public readonly Vector4 Vector4 { get; }

Methods

View Source

AlmostEquals(DVector4, Single)

public readonly bool AlmostEquals(DVector4 x, float tolerance = 1E-07F)
View Source

AlmostZero(Single)

public readonly bool AlmostZero(float tolerance = 1E-07F)
View Source

AnyComponentNegative()

public readonly bool AnyComponentNegative()
View Source

CompareTo(DVector4)

public readonly int CompareTo(DVector4 x)
View Source

Create(Double, Double, Double, Double)

public static DVector4 Create(double x, double y, double z, double w)
View Source

Create((Double x, Double y, Double z, Double w))

public static DVector4 Create((double x, double y, double z, double w) tuple)
View Source

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)
View Source

Dot(DVector4)

public readonly double Dot(DVector4 value)
View Source

Dot(DVector4, DVector4)

public static double Dot(DVector4 value1, DVector4 value2)
View Source

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)
View Source

GetComponent(Int32)

public readonly double GetComponent(int n)
View Source

GetHashCode()

public override readonly int GetHashCode()
Overrides
System.ValueType.GetHashCode()
View Source

IsInfinity()

public readonly bool IsInfinity()
View Source

IsNaN()

public readonly bool IsNaN()
View Source

Magnitude()

public readonly double Magnitude()
View Source

MagnitudeSquared()

public readonly double MagnitudeSquared()
View Source

MaxComponent()

public readonly double MaxComponent()
View Source

MinComponent()

public readonly double MinComponent()
View Source

ProductComponents()

public readonly double ProductComponents()
View Source

SetW(Double)

public readonly DVector4 SetW(double x)
View Source

SetX(Double)

public readonly DVector4 SetX(double x)
View Source

SetY(Double)

public readonly DVector4 SetY(double x)
View Source

SetZ(Double)

public readonly DVector4 SetZ(double x)
View Source

SumComponents()

public readonly double SumComponents()
View Source

SumSqrComponents()

public readonly double SumSqrComponents()
View Source

ToString()

public override readonly string ToString()
Overrides
System.ValueType.ToString()

Operators

View Source

Addition(Double, DVector4)

public static DVector4 operator +(double value1, DVector4 value2)
View Source

Addition(DVector4, Double)

public static DVector4 operator +(DVector4 value1, double value2)
View Source

Addition(DVector4, DVector4)

public static DVector4 operator +(DVector4 value1, DVector4 value2)
View Source

Division(Double, DVector4)

public static DVector4 operator /(double value1, DVector4 value2)
View Source

Division(DVector4, Double)

public static DVector4 operator /(DVector4 value1, double value2)
View Source

Division(DVector4, DVector4)

public static DVector4 operator /(DVector4 value1, DVector4 value2)
View Source

Equality(DVector4, DVector4)

public static bool operator ==(DVector4 x0, DVector4 x1)
View Source

GreaterThan(DVector4, DVector4)

public static bool operator>(DVector4 x0, DVector4 x1)
View Source

GreaterThanOrEqual(DVector4, DVector4)

public static bool operator >=(DVector4 x0, DVector4 x1)
View Source

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)
View Source

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)
View Source

Inequality(DVector4, DVector4)

public static bool operator !=(DVector4 x0, DVector4 x1)
View Source

LessThan(DVector4, DVector4)

public static bool operator <(DVector4 x0, DVector4 x1)
View Source

LessThanOrEqual(DVector4, DVector4)

public static bool operator <=(DVector4 x0, DVector4 x1)
View Source

Multiply(Double, DVector4)

public static DVector4 operator *(double value1, DVector4 value2)
View Source

Multiply(DVector4, Double)

public static DVector4 operator *(DVector4 value1, double value2)
View Source

Multiply(DVector4, DVector4)

public static DVector4 operator *(DVector4 value1, DVector4 value2)
View Source

Subtraction(Double, DVector4)

public static DVector4 operator -(double value1, DVector4 value2)
View Source

Subtraction(DVector4, Double)

public static DVector4 operator -(DVector4 value1, double value2)
View Source

Subtraction(DVector4, DVector4)

public static DVector4 operator -(DVector4 value1, DVector4 value2)
View Source

UnaryNegation(DVector4)

public static DVector4 operator -(DVector4 value)

Implements

System.IEquatable<T>
System.IComparable<T>

Extension Methods

MathOps.Add(DVector4, DVector4)
MathOps.Subtract(DVector4, DVector4)
MathOps.Multiply(DVector4, DVector4)
MathOps.Divide(DVector4, DVector4)
MathOps.Negate(DVector4)
MathOps.Lerp(DVector4, DVector4, Single)
MathOps.InverseLerp(DVector4, DVector4, DVector4)
MathOps.LerpPrecise(DVector4, DVector4, Single)
MathOps.ClampLower(DVector4, DVector4)
MathOps.ClampUpper(DVector4, DVector4)
MathOps.Clamp(DVector4, DVector4, DVector4)
MathOps.Average(DVector4, DVector4)
MathOps.Barycentric(DVector4, DVector4, DVector4, Single, Single)
MathOps.DistanceSquared(DVector4, DVector4)
MathOps.Distance(DVector4, DVector4)
MathOps.LengthSquared(DVector4)
MathOps.Length(DVector4)
MathOps.Normalize(DVector4)
MathOps.SafeNormalize(DVector4)
MathOps.Dot(DVector4, DVector4)
MathOps.Min(DVector4, DVector4)
MathOps.Max(DVector4, DVector4)
MathOps.SquareRoot(DVector4)
MathOps.Abs(DVector4)
MathOps.Acos(DVector4)
MathOps.Asin(DVector4)
MathOps.Atan(DVector4)
MathOps.Cos(DVector4)
MathOps.Cosh(DVector4)
MathOps.Exp(DVector4)
MathOps.Log(DVector4)
MathOps.Log10(DVector4)
MathOps.Sin(DVector4)
MathOps.Sinh(DVector4)
MathOps.Sqrt(DVector4)
MathOps.Tan(DVector4)
MathOps.Tanh(DVector4)
MathOps.Inverse(DVector4)
MathOps.Ceiling(DVector4)
MathOps.Floor(DVector4)
MathOps.Round(DVector4)
MathOps.Truncate(DVector4)
MathOps.Sqr(DVector4)
MathOps.Cube(DVector4)
MathOps.ToRadians(DVector4)
MathOps.ToDegrees(DVector4)
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright VIM 2021, Generated by DocFX