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