[]
Represents a function defined by a pair of equations, x(t) = f1(t) and y(t) = f2(t), where t is an independent variable.
public class ParametricFunction : FunctionBase, IDisposable, ICloneable
Name | Description |
---|---|
ParametricFunction() | Initializes a new instance of the ParametricFunction class. This constructor is equivalent to ParametricFunction(true). |
ParametricFunction(bool) | Initializes a new instance of the ParametricFunction class. Specifies whether the ParametricFunction object should be created in a way that allows the compiled functions (in-memory assemblies) be unloaded. |
Name | Description |
---|---|
CodeLinesX | Gets or sets the multi-line presentation of the function code for the x value calculation. |
CodeLinesY | Gets or sets the multi-line presentation of the function code for the y value calculation. |
CodeTextX | Gets or sets the function code for the x value calculation. |
CodeTextY | Gets or sets the function code for the y value calculation. |
CodeValid | Gets whether the function compiles correctly. |
CustomFunctionX | Gets or sets a custom function object for the x value calculation. |
CustomFunctionY | Gets or sets the custom function object for the y value calculation. |
Max | Gets or sets the maximum value of the axis. |
MaxT | Gets or sets the maximum parameter value when plotting the function. |
Min | Gets or sets the minimum value of the axis. |
MinT | Gets or sets the minimum parameter value when plotting the function. |
Name | Description |
---|---|
GetPoints(bool) | Gets the calulated Y points of chart. |
GetX(double) | Calculates the x value of function at specified parameter t. |
GetXValues(double[]) | Calculates the x values of the function at specified t values. |
GetY(double) | Calculates the y value of function at specified parameter t. |
GetYValues(double[]) | Calculates the y values of the function at specified t values. |
Recompile() | The code will be compiled as formula, a method or as full compile unit. |
Name | Description |
---|---|
CalculateX | Fires when the x value is calculated. |
CalculateY | Fires when the y value is calculated. |