|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object common:Generic common:TrapShape Standard:Standard_TrapShapeSpiral
class
class Standard_TrapShapeSpiral(common.ulb:TrapShape) { public: float func Iterate(complex pz) float d = 1/(cabs(pz)) * @diameter complex r0 = (0,1) ^ d complex z2 = pz * r0 return atan(abs(imag(z2)/real(z2))) endfunc default: title = "Spiral" float param diameter caption = "Diameter" default = 1 hint = "This is the diameter of the spiral." endparam }
Constructor Summary | |
---|---|
Standard_TrapShapeSpiral()
|
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 |
---|
public Standard_TrapShapeSpiral()
Method Detail |
---|
public float Iterate(complex pz)
TrapShape
Iterate
in class TrapShape
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |