Standard
Class Standard_TrapShapeEgg

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

class 
TrapShape:Standard_TrapShapeEgg



Ultra Fractal Source

Toggle UF Source Code Display

 class Standard_TrapShapeEgg(common.ulb:TrapShape) {
 public:
   float func Iterate(complex pz)
     return (cabs(pz-flip(@diameter)*2) + cabs(pz)*@traporder*0.5) * 0.25
   endfunc
 default:
   title = "Egg"
   float param diameter
     caption = "Diameter"
     default = 1
     hint = "This is the diameter of the ring."
   endparam
   float param traporder
     caption = "Egg-iness"
     default = 4
     hint = "This makes the egg shape more or less pronounced."
   endparam
 }
 


Constructor Summary
Standard_TrapShapeEgg()
           
 
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_TrapShapeEgg

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