12 private readonly
double width;
13 private readonly
double height;
44 return new string[] {
"width",
"height" };
62 public override void Operate(ref
double x, ref
double y)
68 r1 = this.gen.NextDouble();
71 double r = Math.Sqrt(x * x + y * y);
72 double s = Math.Sin(r);
73 double c = Math.Cos(r);
74 x = this.height * s * s * r1;
75 y = this.width * c * r1;
78 private readonly Random gen =
new Random();
Class managing a script expression.
static double ToDouble(object Object)
Converts an object to a double value.
override string FunctionName
TODO
override void Operate(ref double x, ref double y)
TODO
override string[] DefaultArgumentNames
TODO
override IElement Evaluate(IElement[] Arguments, Variables Variables)
TODO
ParabolaVariation(ScriptNode width, ScriptNode height, int Start, int Length, Expression Expression)
TODO
ParabolaVariation(double Width, double Height, ScriptNode width, ScriptNode height, 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.