jlb
Class JLB_MandelbrotDualTransform

Object
  extended by common:Generic
      extended by jlb:DualTransform
          extended by jlb:JLB_MandelbrotDualTransform

class 
DualTransform:JLB_MandelbrotDualTransform

The Mandelbrot formula as a DualTransform


Ultra Fractal Source

Toggle UF Source Code Display

 class JLB_MandelbrotDualTransform(DualTransform) {
 ; The Mandelbrot formula as a DualTransform
 public:
    import "common.ulb"
    ; @param pparent the parent, generally "this" for the parent, or zero
    func JLB_MandelbrotDualTransform(Generic pparent)
      DualTransform.DualTransform(pparent)
    endfunc
 
    ; @param pz
    ; @param pc
    ; @return true if okay; possibly change both arguments
    bool func Iterate(complex &pz, complex &pc)
      pz = sqr(pz) + pc
      return true
    endfunc
 
  default:
    title = "Mandelbrot DualTransform"
    int param v_MandelbrotDualTransform
      caption = "Version (MandelbrotDualTransform)"
      default = 100
      hint = "This version parameter is used to detect when a change has \
              been made to the formula that is incompatible with the \
              previous version. When that happens, this field will reflect \
              the old version number to alert you to the fact that an \
              alternate rendering is being used."
      visible = @v_MandelbrotDualTransform < 100
    endparam
 }
 


Constructor Summary
JLB_MandelbrotDualTransform()
           
JLB_MandelbrotDualTransform(Generic pparent)
           
 
Method Summary
 boolean Iterate(complex pz, complex pc)
           
 
Methods inherited from class jlb:DualTransform
Init
 
Methods inherited from class common:Generic
GetParent
 
Methods inherited from class Object
 

Constructor Detail

JLB_MandelbrotDualTransform

public JLB_MandelbrotDualTransform(Generic pparent)
Parameters:
pparent - the parent, generally "this" for the parent, or zero

JLB_MandelbrotDualTransform

public JLB_MandelbrotDualTransform()
Method Detail

Iterate

public boolean Iterate(complex pz,
                       complex pc)
Overrides:
Iterate in class DualTransform
Parameters:
pz -
pc -
Returns:
true if okay; possibly change both arguments