C# Class YAMP.SurfacePlotValue

Contains the data for surface and mesh plots.
Inheritance: XYZPlotValue
Afficher le fichier Open project: FlorianRappl/YAMP Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
AddPoints ( MatrixValue m ) : void

Sets the function values given in the matrix m with generated values for x and y.

AddPoints ( MatrixValue x, MatrixValue y, MatrixValue z ) : void

Sets the z values given in the matrix m with the corresponding x and y values.

Deserialize ( byte content ) : Value

Converts a set of bytes to a new instance.

Serialize ( ) : byte[]

Converts the given instance to an array of bytes.

SurfacePlotValue ( ) : System

Creates a new SurfacePlot.

this ( int index ) : Points

Gets one particular series of the surface plot (we only have 1 surface plot series!).

this ( int index, int point ) : Vertex

Gets one particular point of the surface plot.

Method Details

AddPoints() public méthode

Sets the function values given in the matrix m with generated values for x and y.
public AddPoints ( MatrixValue m ) : void
m MatrixValue The values for the plot.
Résultat void

AddPoints() public méthode

Sets the z values given in the matrix m with the corresponding x and y values.
public AddPoints ( MatrixValue x, MatrixValue y, MatrixValue z ) : void
x MatrixValue The matrix with the x values.
y MatrixValue The matrix with the y values.
z MatrixValue The matrix with the function values / z values.
Résultat void

Deserialize() public méthode

Converts a set of bytes to a new instance.
public Deserialize ( byte content ) : Value
content byte The binary representation.
Résultat Value

Serialize() public méthode

Converts the given instance to an array of bytes.
public Serialize ( ) : byte[]
Résultat byte[]

SurfacePlotValue() public méthode

Creates a new SurfacePlot.
public SurfacePlotValue ( ) : System
Résultat System

this() public méthode

Gets one particular series of the surface plot (we only have 1 surface plot series!).
public this ( int index ) : Points
index int Obsolete - all the same.
Résultat Points

this() public méthode

Gets one particular point of the surface plot.
public this ( int index, int point ) : Vertex
index int Obsolete - all the same.
point int The vertex to get (0.. N - 1, where N is the number of points).
Résultat Vertex