C# Class YAMP.Plot3DValue

Container for 3D plots.
Inheritance: XYZPlotValue
Exibir arquivo Open project: FlorianRappl/YAMP Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AddPoints ( MatrixValue m ) : void

Adds a series with points given in a matrix m.

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

Adds a series with points given by 3 matrices.

AddValues ( double _x, double _y, double _z ) : void
Deserialize ( byte content ) : Value

Converts a set of bytes to a new instance.

Plot3DValue ( ) : System

Creates a new instance.

Serialize ( ) : byte[]

Converts the given instance to an array of bytes.

this ( int index, int point ) : PointTriple

Gets a certain point of the specified series.

this ( int index ) : Points

Gets the series at the specified index.

Method Details

AddPoints() public method

Adds a series with points given in a matrix m.
public AddPoints ( MatrixValue m ) : void
m MatrixValue The matrix with the points (requires at least an Nx3 or 3xN matrix).
return void

AddPoints() public method

Adds a series with points given by 3 matrices.
public AddPoints ( MatrixValue x, MatrixValue y, MatrixValue z ) : void
x MatrixValue The vector with the x values.
y MatrixValue The vector with the y values.
z MatrixValue The vector with the z values.
return void

AddValues() public method

public AddValues ( double _x, double _y, double _z ) : void
_x double
_y double
_z double
return void

Deserialize() public method

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

Plot3DValue() public method

Creates a new instance.
public Plot3DValue ( ) : System
return System

Serialize() public method

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

this() public method

Gets a certain point of the specified series.
public this ( int index, int point ) : PointTriple
index int The 0-based index of the series.
point int The 0-based index of the point.
return PointTriple

this() public method

Gets the series at the specified index.
public this ( int index ) : Points
index int The 0-based index of the series.
return Points