ck
Class ComplexInterpolator

Object
  extended by common:Generic
      extended by ck:ComplexInterpolator

class 
Generic:ComplexInterpolator

This is the base class for interpolation of Complex Numbers


Ultra Fractal Source

Toggle UF Source Code Display

 class ComplexInterpolator(common.ulb:Generic) {
 ; This is the base class for interpolation of Complex Numbers
 public:
 
        import "Common.ulb"
        func ComplexInterpolator(Generic pparent)
               Generic.Generic(pparent)
          ;     interpol=new @interpolation(this)
             ;  easing=new @easing(this)
        endfunc
 
        complex func Interpolate(float t,complex a,complex b)
                return doInterpolate(t,a,b)
        endfunc
 
           complex func doInterpolate(float t,complex a,complex b)
                  return  a + t * (b - a)
           endfunc
 
 private:
      ;    InterpolateBase interpol;
      ;    Easing easing;
 default:
   ;  InterpolateBase param interpolation
   ;     default= InterpolateBase
   ;  endparam
  ;   Easing param easing
  ;      default= Easing
  ;   endparam
 }
 


Constructor Summary
ComplexInterpolator()
           
ComplexInterpolator(Generic pparent)
           
 
Method Summary
 complex doInterpolate(float t, complex a, complex b)
           
 complex Interpolate(float t, complex a, complex b)
           
 
Methods inherited from class common:Generic
GetParent
 
Methods inherited from class Object
 

Constructor Detail

ComplexInterpolator

public ComplexInterpolator(Generic pparent)

ComplexInterpolator

public ComplexInterpolator()
Method Detail

Interpolate

public complex Interpolate(float t,
                           complex a,
                           complex b)

doInterpolate

public complex doInterpolate(float t,
                             complex a,
                             complex b)