dmj5
Class DMJ_TrapShapeCross
Object
common:Generic
common:TrapShape
dmj5:DMJ_TrapShapeCross
class
- TrapShape:DMJ_TrapShapeCross
Ultra Fractal Source
Toggle UF Source Code Display
class DMJ_TrapShapeCross(common.ulb:TrapShape) {
public:
import "common.ulb"
func DMJ_TrapShapeCross(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 = "Cross"
int param v_dmj_trapshapecross
caption = "Version (DMJ_TrapShapeCross)"
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_trapshapecross < 100
endparam
}
Method Summary |
float |
Iterate(complex pz)
call this for each iteration being trapped |
Methods inherited from class Object |
|
DMJ_TrapShapeCross
public DMJ_TrapShapeCross(Generic pparent)
DMJ_TrapShapeCross
public DMJ_TrapShapeCross()
Iterate
public float Iterate(complex pz)
- Description copied from class:
TrapShape
- call this for each iteration being trapped
- Overrides:
Iterate
in class TrapShape