ck
Class InterpolateBase

Object
  extended by common:Generic
      extended by ck:InterpolateBase
Direct Known Subclasses:
Linear, SphericalLinear

class 
Generic:InterpolateBase

This is the base class for interpolation of Complex Numbers


Ultra Fractal Source

Toggle UF Source Code Display

 class InterpolateBase(common.ulb:Generic) {
 ; This is the base class for interpolation of Complex Numbers
 public:
 
        import "Common.ulb"
 
        func InterpolateBase(Generic pparent)
               Generic.Generic(pparent)
        endfunc
 
        complex func Interpolate(float t,complex a,complex b)
 
           return this.doInterpolate(t,a,b)
        endfunc
 
 protected:
 
           complex func doInterpolate(float t,complex a,complex b)
                  ; Template function doing the work...
                  ; should be overriden from sub classes
                  return 0;
           endfunc
 
 }
 


Constructor Summary
InterpolateBase()
           
InterpolateBase(Generic pparent)
           
 
Method Summary
protected  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

InterpolateBase

public InterpolateBase(Generic pparent)

InterpolateBase

public InterpolateBase()
Method Detail

Interpolate

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

doInterpolate

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