Struct Index2i
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
public struct Index2i : IComparable<Index2i>, IEquatable<Index2i>
Constructors
Index2i(Index2i)
Declaration
public Index2i(Index2i copy)
Parameters
Index2i(Int32)
Declaration
Parameters
Type |
Name |
Description |
Int32 |
z |
|
Index2i(Int32, Int32)
Declaration
public Index2i(int ii, int jj)
Parameters
Index2i(Int32[])
Declaration
Parameters
Type |
Name |
Description |
Int32[] |
i2 |
|
Fields
a
Declaration
Field Value
b
Declaration
Field Value
Max
Declaration
public static readonly Index2i Max
Field Value
Min
Declaration
public static readonly Index2i Min
Field Value
One
Declaration
public static readonly Index2i One
Field Value
Zero
Declaration
public static readonly Index2i 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(Index2i)
Declaration
public int CompareTo(Index2i other)
Parameters
Type |
Name |
Description |
Index2i |
other |
|
Returns
Equals(Index2i)
Declaration
public bool Equals(Index2i other)
Parameters
Type |
Name |
Description |
Index2i |
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(Index2i)
Declaration
public void Set(Index2i o)
Parameters
Set(Int32, Int32)
Declaration
public void Set(int ii, int jj)
Parameters
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
Addition(Index2i, Index2i)
Declaration
public static Index2i operator +(Index2i v0, Index2i v1)
Parameters
Returns
Addition(Index2i, Int32)
Declaration
public static Index2i operator +(Index2i v0, int f)
Parameters
Returns
Division(Index2i, Index2i)
Declaration
public static Index2i operator /(Index2i a, Index2i b)
Parameters
Returns
Division(Index2i, Int32)
Declaration
public static Index2i operator /(Index2i v, int f)
Parameters
Returns
Equality(Index2i, Index2i)
Declaration
public static bool operator ==(Index2i a, Index2i b)
Parameters
Returns
Inequality(Index2i, Index2i)
Declaration
public static bool operator !=(Index2i a, Index2i b)
Parameters
Returns
Multiply(Index2i, Index2i)
Declaration
public static Index2i operator *(Index2i a, Index2i b)
Parameters
Returns
Multiply(Index2i, Int32)
Declaration
public static Index2i operator *(Index2i v, int f)
Parameters
Returns
Multiply(Int32, Index2i)
Declaration
public static Index2i operator *(int f, Index2i v)
Parameters
Returns
Subtraction(Index2i, Index2i)
Declaration
public static Index2i operator -(Index2i v0, Index2i v1)
Parameters
Returns
Subtraction(Index2i, Int32)
Declaration
public static Index2i operator -(Index2i v0, int f)
Parameters
Returns
UnaryNegation(Index2i)
Declaration
public static Index2i operator -(Index2i v)
Parameters
Returns
Implements