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