|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectcommon:Generic
common:Formula
common:DivergentFormula
reb:REB_FrameRobert
class
Based upon the Frame-Robertson fractal.
The Frame-Robertson fractal is described in Mazes for the Mind by Pickover.
Fractint-style bailout options are available.
Constructor Summary | |
---|---|
REB_FrameRobert()
|
|
REB_FrameRobert(Generic pparent)
constructor |
Method Summary | |
---|---|
complex |
Init(complex pz)
initialize the formula |
boolean |
IsBailedOut(complex pz)
Override the default function for bailout |
complex |
Iterate(complex pz)
call for every iterated point |
Methods inherited from class common:DivergentFormula |
---|
GetUpperBailout |
Methods inherited from class common:Formula |
---|
GetLowerBailout, GetPrimaryExponent |
Methods inherited from class common:Generic |
---|
GetParent |
Methods inherited from class Object |
---|
|
Constructor Detail |
---|
public REB_FrameRobert(Generic pparent)
public REB_FrameRobert()
Method Detail |
---|
public complex Init(complex pz)
Init
in class DivergentFormula
pz
- seed value for the sequence; for a normal fractal formula, this will be #pixel
public complex Iterate(complex pz)
Iterate
in class Formula
pz
- previous value in the sequence; corresponds to #z in a fractal formula. Note that you should always use this value for computing the next iteration, rather than a saved value, as the calling code may modify the returned value before passing it back to the next Iterate() call.
public boolean IsBailedOut(complex pz)
IsBailedOut
in class DivergentFormula
pz
- last sequence value to test; this should be the value returned from the previous Iterate() call. Note that it is acceptable to ignore pz and use m_BailedOut, but any code calling IsBailedOut() should pass in the correct pz for Formula classes which do not use m_BailedOut.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |