Struct Index4i
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
Constructors
Index4i(Index4i)
Declaration
public Index4i(Index4i copy)
Parameters
Index4i(Int32)
Declaration
Parameters
Type |
Name |
Description |
Int32 |
z |
|
Index4i(Int32, Int32, Int32, Int32)
Declaration
public Index4i(int aa, int bb, int cc, int dd)
Parameters
Index4i(Int32[])
Declaration
Parameters
Type |
Name |
Description |
Int32[] |
i2 |
|
Fields
a
Declaration
Field Value
b
Declaration
Field Value
c
Declaration
Field Value
d
Declaration
Field Value
Max
Declaration
public static readonly Index4i Max
Field Value
One
Declaration
public static readonly Index4i One
Field Value
Zero
Declaration
public static readonly Index4i Zero
Field Value
Properties
array
Declaration
public int[] array { get; }
Property Value
Item[Int32]
Declaration
public int this[int key] { get; set; }
Parameters
Type |
Name |
Description |
Int32 |
key |
|
Property Value
Length
Declaration
public int Length { get; }
Property Value
LengthSquared
Declaration
public int LengthSquared { get; }
Property Value
Methods
CompareTo(Index4i)
Declaration
public int CompareTo(Index4i other)
Parameters
Type |
Name |
Description |
Index4i |
other |
|
Returns
Contains(Int32)
Declaration
public bool Contains(int val)
Parameters
Type |
Name |
Description |
Int32 |
val |
|
Returns
Equals(Index4i)
Declaration
public bool Equals(Index4i other)
Parameters
Type |
Name |
Description |
Index4i |
other |
|
Returns
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Set(Index4i)
Declaration
public void Set(Index4i o)
Parameters
Set(Int32, Int32, Int32, Int32)
Declaration
public void Set(int aa, int bb, int cc, int dd)
Parameters
Sort()
Declaration
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
Addition(Index4i, Index4i)
Declaration
public static Index4i operator +(Index4i v0, Index4i v1)
Parameters
Returns
Addition(Index4i, Int32)
Declaration
public static Index4i operator +(Index4i v0, int f)
Parameters
Returns
Division(Index4i, Index4i)
Declaration
public static Index4i operator /(Index4i a, Index4i b)
Parameters
Returns
Division(Index4i, Int32)
Declaration
public static Index4i operator /(Index4i v, int f)
Parameters
Returns
Equality(Index4i, Index4i)
Declaration
public static bool operator ==(Index4i a, Index4i b)
Parameters
Returns
Inequality(Index4i, Index4i)
Declaration
public static bool operator !=(Index4i a, Index4i b)
Parameters
Returns
Multiply(Index4i, Index4i)
Declaration
public static Index4i operator *(Index4i a, Index4i b)
Parameters
Returns
Multiply(Index4i, Int32)
Declaration
public static Index4i operator *(Index4i v, int f)
Parameters
Returns
Multiply(Int32, Index4i)
Declaration
public static Index4i operator *(int f, Index4i v)
Parameters
Returns
Subtraction(Index4i, Index4i)
Declaration
public static Index4i operator -(Index4i v0, Index4i v1)
Parameters
Returns
Subtraction(Index4i, Int32)
Declaration
public static Index4i operator -(Index4i v0, int f)
Parameters
Returns
UnaryNegation(Index4i)
Declaration
public static Index4i operator -(Index4i v)
Parameters
Returns