Struct double3
- Namespace
- Misaki.HighPerformance.Mathematics
- Assembly
- Misaki.HighPerformance.Mathematics.dll
[NumericType(typeof(double), 8, 3, 1, "global::Misaki.HighPerformance.Mathematics.double", true, true, null, null)]
[NumericConvertable("(double){v}.{c}", new Type[] { typeof(int3), typeof(uint3), typeof(float3), typeof(bool3) })]
[NumericConvertable("(double){v}", new Type[] { typeof(int), typeof(uint), typeof(float) })]
public struct double3 : IEquatable<double3>
- Implements
- Inherited Members
- Extension Methods
Constructors
double3(bool3)
public double3(bool3 v)
Parameters
vbool3
double3(double2, double)
public double3(double2 xy, double z)
Parameters
double3(double3)
public double3(double3 xyz)
Parameters
xyzdouble3
double3(float3)
public double3(float3 v)
Parameters
vfloat3
double3(int3)
public double3(int3 v)
Parameters
vint3
double3(uint3)
public double3(uint3 v)
Parameters
vuint3
double3(double)
public double3(double value)
Parameters
valuedouble
double3(double, double2)
public double3(double x, double2 yz)
Parameters
double3(double, double, double)
public double3(double x, double y, double z)
Parameters
double3(int)
public double3(int v)
Parameters
vint
double3(ReadOnlySpan<double>)
public double3(ReadOnlySpan<double> values)
Parameters
valuesReadOnlySpan<double>
double3(float)
public double3(float v)
Parameters
vfloat
double3(uint)
public double3(uint v)
Parameters
vuint
Fields
x
public double x
Field Value
y
public double y
Field Value
z
public double z
Field Value
Properties
this[int]
public ref double this[int index] { get; }
Parameters
indexint
Property Value
one
public static double3 one { get; }
Property Value
unitX
public static double3 unitX { get; }
Property Value
unitY
public static double3 unitY { get; }
Property Value
unitZ
public static double3 unitZ { get; }
Property Value
xx
[JsonIgnore]
public readonly double2 xx { get; }
Property Value
xxx
[JsonIgnore]
public readonly double3 xxx { get; }
Property Value
xxxx
[JsonIgnore]
public readonly double4 xxxx { get; }
Property Value
xxxy
[JsonIgnore]
public readonly double4 xxxy { get; }
Property Value
xxxz
[JsonIgnore]
public readonly double4 xxxz { get; }
Property Value
xxy
[JsonIgnore]
public readonly double3 xxy { get; }
Property Value
xxyx
[JsonIgnore]
public readonly double4 xxyx { get; }
Property Value
xxyy
[JsonIgnore]
public readonly double4 xxyy { get; }
Property Value
xxyz
[JsonIgnore]
public readonly double4 xxyz { get; }
Property Value
xxz
[JsonIgnore]
public readonly double3 xxz { get; }
Property Value
xxzx
[JsonIgnore]
public readonly double4 xxzx { get; }
Property Value
xxzy
[JsonIgnore]
public readonly double4 xxzy { get; }
Property Value
xxzz
[JsonIgnore]
public readonly double4 xxzz { get; }
Property Value
xy
[JsonIgnore]
public double2 xy { get; set; }
Property Value
xyx
[JsonIgnore]
public readonly double3 xyx { get; }
Property Value
xyxx
[JsonIgnore]
public readonly double4 xyxx { get; }
Property Value
xyxy
[JsonIgnore]
public readonly double4 xyxy { get; }
Property Value
xyxz
[JsonIgnore]
public readonly double4 xyxz { get; }
Property Value
xyy
[JsonIgnore]
public readonly double3 xyy { get; }
Property Value
xyyx
[JsonIgnore]
public readonly double4 xyyx { get; }
Property Value
xyyy
[JsonIgnore]
public readonly double4 xyyy { get; }
Property Value
xyyz
[JsonIgnore]
public readonly double4 xyyz { get; }
Property Value
xyz
[JsonIgnore]
public double3 xyz { get; set; }
Property Value
xyzx
[JsonIgnore]
public readonly double4 xyzx { get; }
Property Value
xyzy
[JsonIgnore]
public readonly double4 xyzy { get; }
Property Value
xyzz
[JsonIgnore]
public readonly double4 xyzz { get; }
Property Value
xz
[JsonIgnore]
public double2 xz { get; set; }
Property Value
xzx
[JsonIgnore]
public readonly double3 xzx { get; }
Property Value
xzxx
[JsonIgnore]
public readonly double4 xzxx { get; }
Property Value
xzxy
[JsonIgnore]
public readonly double4 xzxy { get; }
Property Value
xzxz
[JsonIgnore]
public readonly double4 xzxz { get; }
Property Value
xzy
[JsonIgnore]
public double3 xzy { get; set; }
Property Value
xzyx
[JsonIgnore]
public readonly double4 xzyx { get; }
Property Value
xzyy
[JsonIgnore]
public readonly double4 xzyy { get; }
Property Value
xzyz
[JsonIgnore]
public readonly double4 xzyz { get; }
Property Value
xzz
[JsonIgnore]
public readonly double3 xzz { get; }
Property Value
xzzx
[JsonIgnore]
public readonly double4 xzzx { get; }
Property Value
xzzy
[JsonIgnore]
public readonly double4 xzzy { get; }
Property Value
xzzz
[JsonIgnore]
public readonly double4 xzzz { get; }
Property Value
yx
[JsonIgnore]
public double2 yx { get; set; }
Property Value
yxx
[JsonIgnore]
public readonly double3 yxx { get; }
Property Value
yxxx
[JsonIgnore]
public readonly double4 yxxx { get; }
Property Value
yxxy
[JsonIgnore]
public readonly double4 yxxy { get; }
Property Value
yxxz
[JsonIgnore]
public readonly double4 yxxz { get; }
Property Value
yxy
[JsonIgnore]
public readonly double3 yxy { get; }
Property Value
yxyx
[JsonIgnore]
public readonly double4 yxyx { get; }
Property Value
yxyy
[JsonIgnore]
public readonly double4 yxyy { get; }
Property Value
yxyz
[JsonIgnore]
public readonly double4 yxyz { get; }
Property Value
yxz
[JsonIgnore]
public double3 yxz { get; set; }
Property Value
yxzx
[JsonIgnore]
public readonly double4 yxzx { get; }
Property Value
yxzy
[JsonIgnore]
public readonly double4 yxzy { get; }
Property Value
yxzz
[JsonIgnore]
public readonly double4 yxzz { get; }
Property Value
yy
[JsonIgnore]
public readonly double2 yy { get; }
Property Value
yyx
[JsonIgnore]
public readonly double3 yyx { get; }
Property Value
yyxx
[JsonIgnore]
public readonly double4 yyxx { get; }
Property Value
yyxy
[JsonIgnore]
public readonly double4 yyxy { get; }
Property Value
yyxz
[JsonIgnore]
public readonly double4 yyxz { get; }
Property Value
yyy
[JsonIgnore]
public readonly double3 yyy { get; }
Property Value
yyyx
[JsonIgnore]
public readonly double4 yyyx { get; }
Property Value
yyyy
[JsonIgnore]
public readonly double4 yyyy { get; }
Property Value
yyyz
[JsonIgnore]
public readonly double4 yyyz { get; }
Property Value
yyz
[JsonIgnore]
public readonly double3 yyz { get; }
Property Value
yyzx
[JsonIgnore]
public readonly double4 yyzx { get; }
Property Value
yyzy
[JsonIgnore]
public readonly double4 yyzy { get; }
Property Value
yyzz
[JsonIgnore]
public readonly double4 yyzz { get; }
Property Value
yz
[JsonIgnore]
public double2 yz { get; set; }
Property Value
yzx
[JsonIgnore]
public double3 yzx { get; set; }
Property Value
yzxx
[JsonIgnore]
public readonly double4 yzxx { get; }
Property Value
yzxy
[JsonIgnore]
public readonly double4 yzxy { get; }
Property Value
yzxz
[JsonIgnore]
public readonly double4 yzxz { get; }
Property Value
yzy
[JsonIgnore]
public readonly double3 yzy { get; }
Property Value
yzyx
[JsonIgnore]
public readonly double4 yzyx { get; }
Property Value
yzyy
[JsonIgnore]
public readonly double4 yzyy { get; }
Property Value
yzyz
[JsonIgnore]
public readonly double4 yzyz { get; }
Property Value
yzz
[JsonIgnore]
public readonly double3 yzz { get; }
Property Value
yzzx
[JsonIgnore]
public readonly double4 yzzx { get; }
Property Value
yzzy
[JsonIgnore]
public readonly double4 yzzy { get; }
Property Value
yzzz
[JsonIgnore]
public readonly double4 yzzz { get; }
Property Value
zero
public static double3 zero { get; }
Property Value
zx
[JsonIgnore]
public double2 zx { get; set; }
Property Value
zxx
[JsonIgnore]
public readonly double3 zxx { get; }
Property Value
zxxx
[JsonIgnore]
public readonly double4 zxxx { get; }
Property Value
zxxy
[JsonIgnore]
public readonly double4 zxxy { get; }
Property Value
zxxz
[JsonIgnore]
public readonly double4 zxxz { get; }
Property Value
zxy
[JsonIgnore]
public double3 zxy { get; set; }
Property Value
zxyx
[JsonIgnore]
public readonly double4 zxyx { get; }
Property Value
zxyy
[JsonIgnore]
public readonly double4 zxyy { get; }
Property Value
zxyz
[JsonIgnore]
public readonly double4 zxyz { get; }
Property Value
zxz
[JsonIgnore]
public readonly double3 zxz { get; }
Property Value
zxzx
[JsonIgnore]
public readonly double4 zxzx { get; }
Property Value
zxzy
[JsonIgnore]
public readonly double4 zxzy { get; }
Property Value
zxzz
[JsonIgnore]
public readonly double4 zxzz { get; }
Property Value
zy
[JsonIgnore]
public double2 zy { get; set; }
Property Value
zyx
[JsonIgnore]
public double3 zyx { get; set; }
Property Value
zyxx
[JsonIgnore]
public readonly double4 zyxx { get; }
Property Value
zyxy
[JsonIgnore]
public readonly double4 zyxy { get; }
Property Value
zyxz
[JsonIgnore]
public readonly double4 zyxz { get; }
Property Value
zyy
[JsonIgnore]
public readonly double3 zyy { get; }
Property Value
zyyx
[JsonIgnore]
public readonly double4 zyyx { get; }
Property Value
zyyy
[JsonIgnore]
public readonly double4 zyyy { get; }
Property Value
zyyz
[JsonIgnore]
public readonly double4 zyyz { get; }
Property Value
zyz
[JsonIgnore]
public readonly double3 zyz { get; }
Property Value
zyzx
[JsonIgnore]
public readonly double4 zyzx { get; }
Property Value
zyzy
[JsonIgnore]
public readonly double4 zyzy { get; }
Property Value
zyzz
[JsonIgnore]
public readonly double4 zyzz { get; }
Property Value
zz
[JsonIgnore]
public readonly double2 zz { get; }
Property Value
zzx
[JsonIgnore]
public readonly double3 zzx { get; }
Property Value
zzxx
[JsonIgnore]
public readonly double4 zzxx { get; }
Property Value
zzxy
[JsonIgnore]
public readonly double4 zzxy { get; }
Property Value
zzxz
[JsonIgnore]
public readonly double4 zzxz { get; }
Property Value
zzy
[JsonIgnore]
public readonly double3 zzy { get; }
Property Value
zzyx
[JsonIgnore]
public readonly double4 zzyx { get; }
Property Value
zzyy
[JsonIgnore]
public readonly double4 zzyy { get; }
Property Value
zzyz
[JsonIgnore]
public readonly double4 zzyz { get; }
Property Value
zzz
[JsonIgnore]
public readonly double3 zzz { get; }
Property Value
zzzx
[JsonIgnore]
public readonly double4 zzzx { get; }
Property Value
zzzy
[JsonIgnore]
public readonly double4 zzzy { get; }
Property Value
zzzz
[JsonIgnore]
public readonly double4 zzzz { get; }
Property Value
Methods
Equals(double3)
Indicates whether the current object is equal to another object of the same type.
public readonly bool Equals(double3 other)
Parameters
otherdouble3An object to compare with this object.
Returns
Equals(object?)
Indicates whether this instance and a specified object are equal.
public override readonly bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current instance.
Returns
- bool
true if
objand this instance are the same type and represent the same value; otherwise, false.
GetHashCode()
Returns the hash code for this instance.
public override readonly int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
ToString()
Returns the fully qualified type name of this instance.
public override readonly string ToString()
Returns
- string
The fully qualified type name.
Operators
operator +(double3, double3)
public static double3 operator +(double3 lhs, double3 rhs)
Parameters
Returns
operator +(double3, double)
public static double3 operator +(double3 lhs, double rhs)
Parameters
Returns
operator +(double, double3)
public static double3 operator +(double lhs, double3 rhs)
Parameters
Returns
operator +=(double3)
public void operator +=(double3 other)
Parameters
otherdouble3
operator --(double3)
public static double3 operator --(double3 value)
Parameters
valuedouble3
Returns
operator /(double3, double3)
public static double3 operator /(double3 lhs, double3 rhs)
Parameters
Returns
operator /(double3, double)
public static double3 operator /(double3 lhs, double rhs)
Parameters
Returns
operator /(double, double3)
public static double3 operator /(double lhs, double3 rhs)
Parameters
Returns
operator /=(double3)
public void operator /=(double3 other)
Parameters
otherdouble3
operator ==(double3, double3)
public static bool3 operator ==(double3 lhs, double3 rhs)
Parameters
Returns
operator >(double3, double3)
public static bool3 operator >(double3 lhs, double3 rhs)
Parameters
Returns
operator >=(double3, double3)
public static bool3 operator >=(double3 lhs, double3 rhs)
Parameters
Returns
implicit operator double3(bool3)
public static implicit operator double3(bool3 v)
Parameters
vbool3
Returns
implicit operator double3(float3)
public static implicit operator double3(float3 v)
Parameters
vfloat3
Returns
implicit operator double3(int3)
public static implicit operator double3(int3 v)
Parameters
vint3
Returns
implicit operator double3(uint3)
public static implicit operator double3(uint3 v)
Parameters
vuint3
Returns
implicit operator double3(double)
public static implicit operator double3(double value)
Parameters
valuedouble
Returns
implicit operator double3(int)
public static implicit operator double3(int v)
Parameters
vint
Returns
implicit operator double3(ReadOnlySpan<double>)
public static implicit operator double3(ReadOnlySpan<double> value)
Parameters
valueReadOnlySpan<double>
Returns
implicit operator double3(float)
public static implicit operator double3(float v)
Parameters
vfloat
Returns
implicit operator double3(uint)
public static implicit operator double3(uint v)
Parameters
vuint
Returns
operator ++(double3)
public static double3 operator ++(double3 value)
Parameters
valuedouble3
Returns
operator !=(double3, double3)
public static bool3 operator !=(double3 lhs, double3 rhs)
Parameters
Returns
operator <(double3, double3)
public static bool3 operator <(double3 lhs, double3 rhs)
Parameters
Returns
operator <=(double3, double3)
public static bool3 operator <=(double3 lhs, double3 rhs)
Parameters
Returns
operator %(double3, double3)
public static double3 operator %(double3 lhs, double3 rhs)
Parameters
Returns
operator %(double3, double)
public static double3 operator %(double3 lhs, double rhs)
Parameters
Returns
operator %(double, double3)
public static double3 operator %(double lhs, double3 rhs)
Parameters
Returns
operator %=(double3)
public void operator %=(double3 other)
Parameters
otherdouble3
operator *=(double3)
public void operator *=(double3 other)
Parameters
otherdouble3
operator *(double3, double3)
public static double3 operator *(double3 lhs, double3 rhs)
Parameters
Returns
operator *(double3, double)
public static double3 operator *(double3 lhs, double rhs)
Parameters
Returns
operator *(double, double3)
public static double3 operator *(double lhs, double3 rhs)
Parameters
Returns
operator -(double3, double3)
public static double3 operator -(double3 lhs, double3 rhs)
Parameters
Returns
operator -(double3, double)
public static double3 operator -(double3 lhs, double rhs)
Parameters
Returns
operator -(double, double3)
public static double3 operator -(double lhs, double3 rhs)
Parameters
Returns
operator -=(double3)
public void operator -=(double3 other)
Parameters
otherdouble3
operator -(double3)
public static double3 operator -(double3 value)
Parameters
valuedouble3
Returns
operator +(double3)
public static double3 operator +(double3 value)
Parameters
valuedouble3