Standard
Class Standard_TrapShapeRectangle

Object
  extended by common:Generic
      extended by common:TrapShape
          extended by Standard:Standard_TrapShapeRectangle

class 
TrapShape:Standard_TrapShapeRectangle



Ultra Fractal Source

Toggle UF Source Code Display

 class Standard_TrapShapeRectangle(common.ulb:TrapShape) {
 public:
   float func Iterate(complex pz)
     float d = abs(real(pz))
     float d2 = abs(imag(pz))
     if d2 > d
       return d2
     else
       return d
     endif
   endfunc
 default:
   title = "Rectangle"
 }
 


Constructor Summary
Standard_TrapShapeRectangle()
           
 
Method Summary
 float Iterate(complex pz)
          call this for each iteration being trapped
 
Methods inherited from class common:TrapShape
GetColorChannel, GetTextureValue, GetTransformedPoint, Init, IterateSilent, SetThreshold
 
Methods inherited from class common:Generic
GetParent
 
Methods inherited from class Object
 

Constructor Detail

Standard_TrapShapeRectangle

public Standard_TrapShapeRectangle()
Method Detail

Iterate

public float Iterate(complex pz)
Description copied from class: TrapShape
call this for each iteration being trapped

Overrides:
Iterate in class TrapShape