• 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 DVector3

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

DVector3(Double)

public DVector3(double value)
View Source

DVector3(Double, Double, Double)

public DVector3(double x, double y, double z)
View Source

DVector3((Double x, Double y, Double z))

public DVector3((double x, double y, double z) tuple)

Fields

View Source

MaxValue

public static DVector3 MaxValue
View Source

MinValue

public static DVector3 MinValue
View Source

NumComponents

public const int NumComponents = 3
View Source

One

public static DVector3 One
View Source

UnitX

public static DVector3 UnitX
View Source

UnitY

public static DVector3 UnitY
View Source

UnitZ

public static DVector3 UnitZ
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 DVector3 Zero

Properties

View Source

Vector3

public readonly Vector3 Vector3 { get; }

Methods

View Source

AlmostEquals(DVector3, Single)

public readonly bool AlmostEquals(DVector3 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(DVector3)

public readonly int CompareTo(DVector3 x)
View Source

Create(Double, Double, Double)

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

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

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

Deconstruct(out Double, out Double, out Double)

public readonly void Deconstruct(out double x, out double y, out double z)
View Source

Dot(DVector3)

public readonly double Dot(DVector3 value)
View Source

Dot(DVector3, DVector3)

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

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

SetX(Double)

public readonly DVector3 SetX(double x)
View Source

SetY(Double)

public readonly DVector3 SetY(double x)
View Source

SetZ(Double)

public readonly DVector3 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, DVector3)

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

Addition(DVector3, Double)

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

Addition(DVector3, DVector3)

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

Division(Double, DVector3)

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

Division(DVector3, Double)

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

Division(DVector3, DVector3)

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

Equality(DVector3, DVector3)

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

GreaterThan(DVector3, DVector3)

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

GreaterThanOrEqual(DVector3, DVector3)

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

Implicit((Double x, Double y, Double z) to DVector3)

public static implicit operator DVector3((double x, double y, double z) tuple)
View Source

Implicit(DVector3 to (Double x, Double y, Double z))

public static implicit operator (double x, double y, double z)(DVector3 self)
View Source

Inequality(DVector3, DVector3)

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

LessThan(DVector3, DVector3)

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

LessThanOrEqual(DVector3, DVector3)

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

Multiply(Double, DVector3)

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

Multiply(DVector3, Double)

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

Multiply(DVector3, DVector3)

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

Subtraction(Double, DVector3)

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

Subtraction(DVector3, Double)

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

Subtraction(DVector3, DVector3)

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

UnaryNegation(DVector3)

public static DVector3 operator -(DVector3 value)

Implements

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

Extension Methods

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