12 private readonly
double holes;
13 private readonly
double petals;
41 return new string[] {
"holes",
"petals" };
59 public override void Operate(ref
double x, ref
double y)
65 r1 = this.gen.NextDouble();
68 double a = Math.Atan2(y, x);
69 double r = (r1 - this.holes) * Math.Cos(
this.petals * a);
74 private readonly Random gen =
new Random();
Class managing a script expression.
static double ToDouble(object Object)
Converts an object to a double value.
override void Operate(ref double x, ref double y)
TODO
override string[] DefaultArgumentNames
TODO
override IElement Evaluate(IElement[] Arguments, Variables Variables)
TODO
override string FunctionName
TODO
FlowerVariation(ScriptNode holes, ScriptNode petals, 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.