C# Класс YAMP.SurfacePlotValue

Contains the data for surface and mesh plots.
Наследование: XYZPlotValue
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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.

Описание методов

AddPoints() публичный Метод

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.
Результат void

AddPoints() публичный Метод

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.
Результат void

Deserialize() публичный Метод

Converts a set of bytes to a new instance.
public Deserialize ( byte content ) : Value
content byte The binary representation.
Результат Value

Serialize() публичный Метод

Converts the given instance to an array of bytes.
public Serialize ( ) : byte[]
Результат byte[]

SurfacePlotValue() публичный Метод

Creates a new SurfacePlot.
public SurfacePlotValue ( ) : System
Результат System

this() публичный Метод

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.
Результат Points

this() публичный Метод

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).
Результат Vertex