C# 클래스 YAMP.SurfacePlotValue

Contains the data for surface and mesh plots.
상속: XYZPlotValue
파일 보기 프로젝트 열기: FlorianRappl/YAMP 1 사용 예제들

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