dmj5
Class DMJ_TrapShapeRectangle
Object
common:Generic
common:TrapShape
dmj5:DMJ_TrapShapeRectangle
class
- TrapShape:DMJ_TrapShapeRectangle
Ultra Fractal Source
Toggle UF Source Code Display
class DMJ_TrapShapeRectangle(common.ulb:TrapShape) {
public:
import "common.ulb"
func DMJ_TrapShapeRectangle(Generic pparent)
TrapShape.TrapShape(pparent)
endfunc
float func Iterate(complex pz)
TrapShape.Iterate(pz)
float d = abs(real(pz))
float d2 = abs(imag(pz))
if (d2 > d)
return d2
else
return d
endif
endfunc
default:
title = "Rectangle"
int param v_dmj_trapshaperectangle
caption = "Version (DMJ_TrapShapeRectangle)"
default = 100
hint = "This version parameter is used to detect when a change has been made to the formula that is incompatible with the previous version. When that happens, this field will reflect the old version number to alert you to the fact that an alternate rendering is being used."
visible = @v_dmj_trapshaperectangle < 100
endparam
}
Method Summary |
float |
Iterate(complex pz)
call this for each iteration being trapped |
Methods inherited from class Object |
|
DMJ_TrapShapeRectangle
public DMJ_TrapShapeRectangle(Generic pparent)
DMJ_TrapShapeRectangle
public DMJ_TrapShapeRectangle()
Iterate
public float Iterate(complex pz)
- Description copied from class:
TrapShape
- call this for each iteration being trapped
- Overrides:
Iterate
in class TrapShape