ck
Class Linear

Object
  extended by common:Generic
      extended by ck:InterpolateBase
          extended by ck:Linear

class 
InterpolateBase:Linear

Plain Linear Interpolation between two complex numbers


Ultra Fractal Source

Toggle UF Source Code Display

 class Linear(ck.ulb:InterpolateBase) {
 ; Plain Linear Interpolation between two complex numbers
 public:
        import "Common.ulb"
 
        func Linear(Generic pparent)
               InterpolateBase.InterpolateBase(pparent)
        endfunc
 
 protected:
 
           complex func doInterpolate(float t,complex a,complex b)
                  return  a + t * (b - a)
           endfunc
 
 default:
         title = "Linear"
         rating = recommended
 
 }
 


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

Constructor Detail

Linear

public Linear(Generic pparent)

Linear

public Linear()
Method Detail

doInterpolate

protected complex doInterpolate(float t,
                                complex a,
                                complex b)
Overrides:
doInterpolate in class InterpolateBase