C# Class ImageMagick.DoubleMatrix

Encapsulates a matrix of doubles.
Afficher le fichier Open project: dlemstra/Magick.NET Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
DoubleMatrix ( int order, double values ) : System

Initializes a new instance of the DoubleMatrix class.

Private Methods

Méthode Description
CreateInstance ( DoubleMatrix instance ) : INativeInstance
CreateNativeInstance ( ) : INativeInstance
GetIndex ( int x, int y ) : int

Method Details

DoubleMatrix() protected méthode

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.
Résultat System

GetValue() public méthode

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
Résultat double

SetColumn() public méthode

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

SetRow() public méthode

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

SetValue() public méthode

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
Résultat void

ToArray() public méthode

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

this() public méthode

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
Résultat double