Class DenseGrid2f
2D dense grid of floating-point scalar values.
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
Constructors
DenseGrid2f()
Declaration
DenseGrid2f(DenseGrid2f)
Declaration
public DenseGrid2f(DenseGrid2f copy)
Parameters
DenseGrid2f(Int32, Int32, Single)
Declaration
public DenseGrid2f(int ni, int nj, float initialValue)
Parameters
Fields
Buffer
Declaration
Field Value
ni
Declaration
Field Value
nj
Declaration
Field Value
Properties
Bounds
Declaration
public AxisAlignedBox2i Bounds { get; }
Property Value
Item[Vector2i]
Declaration
public float this[Vector2i ijk] { get; set; }
Parameters
Property Value
Item[Int32]
Declaration
public float this[int i] { get; set; }
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Property Value
Item[Int32, Int32]
Declaration
public float this[int i, int j] { get; set; }
Parameters
Property Value
size
Declaration
Property Value
Methods
apply(Func<Single, Single>)
Declaration
public void apply(Func<float, float> f)
Parameters
assign(Single)
Declaration
public void assign(float value)
Parameters
Type |
Name |
Description |
Single |
value |
|
assign_border(Single, Int32)
Declaration
public void assign_border(float value, int rings)
Parameters
clear()
Declaration
copy(DenseGrid2f)
Declaration
public void copy(DenseGrid2f copy)
Parameters
get_x_pair(Int32, Int32, out Double, out Double)
Declaration
public void get_x_pair(int i0, int j, out double a, out double b)
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
set_max(DenseGrid2f)
Declaration
public void set_max(DenseGrid2f grid2)
Parameters
set_min(DenseGrid2f)
Declaration
public void set_min(DenseGrid2f grid2)
Parameters
swap(DenseGrid2f)
Declaration
public void swap(DenseGrid2f g2)
Parameters