Struct Int4
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 Int4 : IEquatable<Int4>, IComparable<Int4>
Constructors
View SourceInt4(Int32)
public Int4(int value)
Int4(Int32, Int32, Int32, Int32)
public Int4(int x, int y, int z, int w)
Int4((Int32 x, Int32 y, Int32 z, Int32 w))
public Int4((int x, int y, int z, int w) tuple)
Fields
View SourceMaxValue
public static Int4 MaxValue
MinValue
public static Int4 MinValue
NumComponents
public const int NumComponents = 4
One
public static Int4 One
UnitW
public static Int4 UnitW
UnitX
public static Int4 UnitX
UnitY
public static Int4 UnitY
UnitZ
public static Int4 UnitZ
W
[DataMember]
public readonly int W
X
[DataMember]
public readonly int X
Y
[DataMember]
public readonly int Y
Z
[DataMember]
public readonly int Z
Zero
public static Int4 Zero
Methods
View SourceAlmostZero(Single)
public readonly bool AlmostZero(float tolerance = 1E-07F)
AnyComponentNegative()
public readonly bool AnyComponentNegative()
CompareTo(Int4)
public readonly int CompareTo(Int4 x)
Create(Int32, Int32, Int32, Int32)
public static Int4 Create(int x, int y, int z, int w)
Create((Int32 x, Int32 y, Int32 z, Int32 w))
public static Int4 Create((int x, int y, int z, int w) tuple)
Deconstruct(out Int32, out Int32, out Int32, out Int32)
public readonly void Deconstruct(out int x, out int y, out int z, out int w)
Dot(Int4)
public readonly int Dot(Int4 value)
Dot(Int4, Int4)
public static int Dot(Int4 value1, Int4 value2)
Equals(Object)
public override readonly bool Equals(object obj)
Overrides
System.ValueType.Equals(System.Object)
View Source
Equals(Int4)
public readonly bool Equals(Int4 x)
GetComponent(Int32)
public readonly int 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 int MaxComponent()
MinComponent()
public readonly int MinComponent()
ProductComponents()
public readonly int ProductComponents()
SetW(Int32)
public readonly Int4 SetW(int x)
SetX(Int32)
public readonly Int4 SetX(int x)
SetY(Int32)
public readonly Int4 SetY(int x)
SetZ(Int32)
public readonly Int4 SetZ(int x)
SumComponents()
public readonly int SumComponents()
SumSqrComponents()
public readonly int SumSqrComponents()
ToString()
public override readonly string ToString()
Overrides
System.ValueType.ToString()
Operators
View SourceAddition(Int32, Int4)
public static Int4 operator +(int value1, Int4 value2)
Addition(Int4, Int32)
public static Int4 operator +(Int4 value1, int value2)
Addition(Int4, Int4)
public static Int4 operator +(Int4 value1, Int4 value2)
Division(Int32, Int4)
public static Int4 operator /(int value1, Int4 value2)
Division(Int4, Int32)
public static Int4 operator /(Int4 value1, int value2)
Division(Int4, Int4)
public static Int4 operator /(Int4 value1, Int4 value2)
Equality(Int4, Int4)
public static bool operator ==(Int4 x0, Int4 x1)
GreaterThan(Int4, Int4)
public static bool operator>(Int4 x0, Int4 x1)
GreaterThanOrEqual(Int4, Int4)
public static bool operator >=(Int4 x0, Int4 x1)
Implicit((Int32 x, Int32 y, Int32 z, Int32 w) to Int4)
public static implicit operator Int4((int x, int y, int z, int w) tuple)
Implicit(Int4 to (Int32 x, Int32 y, Int32 z, Int32 w))
public static implicit operator (int x, int y, int z, int w)(Int4 self)
Inequality(Int4, Int4)
public static bool operator !=(Int4 x0, Int4 x1)
LessThan(Int4, Int4)
public static bool operator <(Int4 x0, Int4 x1)
LessThanOrEqual(Int4, Int4)
public static bool operator <=(Int4 x0, Int4 x1)
Multiply(Int32, Int4)
public static Int4 operator *(int value1, Int4 value2)
Multiply(Int4, Int32)
public static Int4 operator *(Int4 value1, int value2)
Multiply(Int4, Int4)
public static Int4 operator *(Int4 value1, Int4 value2)
Subtraction(Int32, Int4)
public static Int4 operator -(int value1, Int4 value2)
Subtraction(Int4, Int32)
public static Int4 operator -(Int4 value1, int value2)
Subtraction(Int4, Int4)
public static Int4 operator -(Int4 value1, Int4 value2)
UnaryNegation(Int4)
public static Int4 operator -(Int4 value)
Implements
System.IEquatable<T>
System.IComparable<T>