Standard
Class Standard_TrapShapeAstroid

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

class 
TrapShape:Standard_TrapShapeAstroid



Ultra Fractal Source

Toggle UF Source Code Display

 class Standard_TrapShapeAstroid(common.ulb:TrapShape) {
 public:
   float func Iterate(complex pz)
     float d = abs(real(pz))^@traporder + abs(imag(pz))^@traporder
     if @traporder < 0
       return 1 / d
     else
       return d
     endif
   endfunc
 default:
   title = "Astroid"
   float param traporder
     caption = "Exponent"
     default = 0.66667
     hint = "This is the exponent for the astroid curves."
   endparam
 }
 


Constructor Summary
Standard_TrapShapeAstroid()
           
 
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_TrapShapeAstroid

public Standard_TrapShapeAstroid()
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