C# Class ImageMagick.DoubleMatrix

Encapsulates a matrix of doubles.
Datei anzeigen Open project: dlemstra/Magick.NET Class Usage Examples

Public Methods

Method Description
GetValue ( int x, int y ) : double

Gets the value at the specified x/y position.

SetColumn ( int x ) : void

Set the column at the specified x position.

SetRow ( int y ) : void

Set the row at the specified y position.

SetValue ( int x, int y, double value ) : void

Set the value at the specified x/y position.

ToArray ( ) : double[]

Returns a string that represents the current DoubleMatrix.

this ( int x, int y ) : double

Get or set the value at the specified x/y position.

Protected Methods

Method Description
DoubleMatrix ( int order, double values ) : System

Initializes a new instance of the DoubleMatrix class.

Private Methods

Method Description
CreateInstance ( DoubleMatrix instance ) : INativeInstance
CreateNativeInstance ( ) : INativeInstance
GetIndex ( int x, int y ) : int

Method Details

DoubleMatrix() protected method

Initializes a new instance of the DoubleMatrix class.
protected DoubleMatrix ( int order, double values ) : System
order int The order.
values double The values to initialize the matrix with.
return System

GetValue() public method

Gets the value at the specified x/y position.
public GetValue ( int x, int y ) : double
x int The x position
y int The y position
return double

SetColumn() public method

Set the column at the specified x position.
public SetColumn ( int x ) : void
x int The x position
return void

SetRow() public method

Set the row at the specified y position.
public SetRow ( int y ) : void
y int The y position
return void

SetValue() public method

Set the value at the specified x/y position.
public SetValue ( int x, int y, double value ) : void
x int The x position
y int The y position
value double The value
return void

ToArray() public method

Returns a string that represents the current DoubleMatrix.
public ToArray ( ) : double[]
return double[]

this() public method

Get or set the value at the specified x/y position.
public this ( int x, int y ) : double
x int The x position
y int The y position
return double