VisualPOVRAY.JuliaFractal.JuliaFractal C# (CSharp) Method

JuliaFractal() public method

public JuliaFractal ( String algebra, String function, int precision, int iterations, Point3 location = null, float x = -0.162f, float y = 0.163f, float z = 0.560f, float k = -0.599f, Signal rx = null, Signal ry = null, Signal rz = null, Signal rk = null, Point3 rotation = null, PovTexture texture = null, String finish = null, bool reactive = false ) : System
algebra String
function String
precision int
iterations int
location Point3
x float
y float
z float
k float
rx Signal
ry Signal
rz Signal
rk Signal
rotation Point3
texture PovTexture
finish String
reactive bool
return System
        public JuliaFractal(String algebra, String function, int precision, int iterations,
            Point3 location = null, float x = -0.162f, float y = 0.163f, float z = 0.560f, float k = -0.599f,
            Signal<float> rx = null, Signal<float> ry = null, Signal<float> rz = null, Signal<float> rk = null,
            Point3 rotation = null, PovTexture texture = null, String finish = null, bool reactive = false)
        {
            this.reactive = reactive;
            this.loc = location ?? new Point3(0, 0, 0, reactive: reactive);
            this.rot = rotation ?? new Point3(0, 0, 0, reactive: reactive);
            this.tex = texture ?? new POVColor("Red");
            this.finish = finish ?? "finish {phong .9 reflection .5}";
            this.x = rx ?? new Lift0f(x);
            this.y = ry ?? new Lift0f(y);
            this.z = rz ?? new Lift0f(z);
            this.k = rk ?? new Lift0f(k);
            if (algebra.Equals("quaternion"))
            {
                this.algebra = algebra;
            }
            else if (algebra.Equals(" hypercomplex"))
            {
                this.algebra = algebra;
            }
            else this.algebra = "quaternion";
            this.precision = precision;
            this.iterations = iterations;
            this.function = function;
        }