12 private readonly
double x;
13 private readonly
double y;
42 return new string[] {
"x",
"y" };
60 public override void Operate(ref
double x, ref
double y)
62 double r = Math.Sqrt(x * x + y * y);
63 double a = Math.Atan2(x, y);
64 double p1 = Math.PI * this.x * this.x / 2 + 1e-6;
65 double t = a + this.y - 2 * p1 * Math.Floor(a * this.y / p1);
Class managing a script expression.
static double ToDouble(object Object)
Converts an object to a double value.
override IElement Evaluate(IElement[] Arguments, Variables Variables)
TODO
override string FunctionName
TODO
override void Operate(ref double x, ref double y)
TODO
override string[] DefaultArgumentNames
TODO
Fan2Variation(ScriptNode x, ScriptNode y, int Start, int Length, Expression Expression)
TODO
object AssociatedObjectValue
TODO
ScriptNode[] Arguments
Function arguments.
Base class for all nodes in a parsed script tree.
int Length
Length of expression covered by node.
Expression Expression
Expression of which the node is a part.
int Start
Start position in script expression.
Basic interface for all types of elements.
ArgumentType
Type of parameter used in a function definition or a lambda definition.