|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object common:Generic common:TrapShape Standard:Standard_TrapShapeBox
class
class Standard_TrapShapeBox(common.ulb:TrapShape) { public: float func Iterate(complex pz) float d = abs(real(pz)) float d2 = abs(imag(pz)) if d2 > d d = d2 endif return abs(d - @diameter) endfunc default: title = "Box" float param diameter caption = "Diameter" default = 1 hint = "This is the size of the trap shape." endparam }
Constructor Summary | |
---|---|
Standard_TrapShapeBox()
|
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_TrapShapeBox()
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 |