Class DenseGrid2i
2D dense grid of integers.
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
Constructors
DenseGrid2i()
Declaration
DenseGrid2i(DenseGrid2i)
Declaration
public DenseGrid2i(DenseGrid2i copy)
Parameters
DenseGrid2i(Int32, Int32, Int32)
Declaration
public DenseGrid2i(int ni, int nj, int initialValue)
Parameters
Fields
Buffer
Declaration
Field Value
ni
Declaration
Field Value
nj
Declaration
Field Value
Properties
Item[Vector2i]
Declaration
public int this[Vector2i ijk] { get; set; }
Parameters
Property Value
Item[Int32]
Declaration
public int this[int i] { get; set; }
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Property Value
Item[Int32, Int32]
Declaration
public int this[int i, int j] { get; set; }
Parameters
Property Value
size
Declaration
Property Value
Methods
assign(Int32)
Declaration
public void assign(int value)
Parameters
Type |
Name |
Description |
Int32 |
value |
|
atomic_decrement(Int32, Int32)
Declaration
public void atomic_decrement(int i, int j)
Parameters
atomic_incdec(Int32, Int32, Boolean)
Declaration
public void atomic_incdec(int i, int j, bool decrement = false)
Parameters
atomic_increment(Int32, Int32)
Declaration
public void atomic_increment(int i, int j)
Parameters
clear()
Declaration
copy(DenseGrid2i)
Declaration
public void copy(DenseGrid2i copy)
Parameters
decrement(Int32, Int32)
Declaration
public void decrement(int i, int j)
Parameters
increment(Int32, Int32)
Declaration
public void increment(int i, int j)
Parameters
Indices()
Declaration
public IEnumerable<Vector2i> Indices()
Returns
InsetIndices(Int32)
Declaration
public IEnumerable<Vector2i> InsetIndices(int border_width)
Parameters
Type |
Name |
Description |
Int32 |
border_width |
|
Returns
resize(Int32, Int32)
Declaration
public void resize(int ni, int nj)
Parameters
sum()
Declaration
Returns