Standard
Class Standard_TrapColoringAngleToOrigin2

Object
  extended by common:Generic
      extended by common:TrapColoring
          extended by Standard:Standard_TrapColoringAngleToOrigin2

class 
TrapColoring:Standard_TrapColoringAngleToOrigin2



Ultra Fractal Source

Toggle UF Source Code Display

 class Standard_TrapColoringAngleToOrigin2(common.ulb:TrapColoring) {
 public:
   float func Result(TrapMode pTrapMode)
     complex z = pTrapMode.getUntransformedPoint(0)
     return 0.02 * abs(atan(imag(z) / real(z)) * 180/#pi)
   endfunc
 default:
   title = "Angle to Origin 2"
 }
 


Constructor Summary
Standard_TrapColoringAngleToOrigin2()
           
 
Method Summary
 float Result(TrapMode pTrapMode)
          get a final result
 
Methods inherited from class common:Generic
GetParent
 
Methods inherited from class Object
 

Constructor Detail

Standard_TrapColoringAngleToOrigin2

public Standard_TrapColoringAngleToOrigin2()
Method Detail

Result

public float Result(TrapMode pTrapMode)
Description copied from class: TrapColoring
get a final result

Overrides:
Result in class TrapColoring