Class DenseGrid3i
3D dense grid of integers.
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
Constructors
DenseGrid3i()
Declaration
DenseGrid3i(Int32, Int32, Int32, Int32)
Declaration
public DenseGrid3i(int ni, int nj, int nk, int initialValue)
Parameters
Fields
Buffer
Declaration
Field Value
ni
Declaration
Field Value
nj
Declaration
Field Value
nk
Declaration
Field Value
Properties
Item[Vector3i]
Declaration
public int this[Vector3i 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, Int32]
Declaration
public int this[int i, int j, int k] { 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, Int32)
Declaration
public void atomic_decrement(int i, int j, int k)
Parameters
atomic_incdec(Int32, Int32, Int32, Boolean)
Declaration
public void atomic_incdec(int i, int j, int k, bool decrement = false)
Parameters
atomic_increment(Int32, Int32, Int32)
Declaration
public void atomic_increment(int i, int j, int k)
Parameters
decrement(Int32, Int32, Int32)
Declaration
public void decrement(int i, int j, int k)
Parameters
get_bitmap(Int32)
Declaration
public Bitmap3 get_bitmap(int thresh = 0)
Parameters
Type |
Name |
Description |
Int32 |
thresh |
|
Returns
get_slice(Int32, Int32)
Declaration
public DenseGrid2i get_slice(int slice_i, int dimension)
Parameters
Type |
Name |
Description |
Int32 |
slice_i |
|
Int32 |
dimension |
|
Returns
increment(Int32, Int32, Int32)
Declaration
public void increment(int i, int j, int k)
Parameters
Indices()
Declaration
public IEnumerable<Vector3i> Indices()
Returns
InsetIndices(Int32)
Declaration
public IEnumerable<Vector3i> InsetIndices(int border_width)
Parameters
Type |
Name |
Description |
Int32 |
border_width |
|
Returns
resize(Int32, Int32, Int32)
Declaration
public void resize(int ni, int nj, int nk)
Parameters