|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfpp.fractal.DoublePrecisionFractalGenerator
infpp.fractal.SimpleDoublePrecisionMandelbrotGenerator
public class SimpleDoublePrecisionMandelbrotGenerator
The SimpleDoublePrecisionMandelbrotGenerator provides an implementation for calculating the number of required iterations to determine the divergence of the sequence of points obtained by the recursion z1 := 1, zn + 1 = (zn)2 + c where c is a point determined by screen coordinates. This implementation operates with standard double precision arithmetic.
Constructor Summary | |
---|---|
SimpleDoublePrecisionMandelbrotGenerator(int maxIterations)
Constructs a new SimpleDoublePrecisionMandelbrotGenerator. |
Method Summary | |
---|---|
int |
getNumberOfIterationsAtPixel(int x,
int y)
Calculates the number of required iterations to determine the divergence of the sequence of points obtained by the recursion z1 := 1, zn + 1 = (zn)2 + c where c is the result of the conversion of the specified pixel to a complex number. |
Methods inherited from class infpp.fractal.DoublePrecisionFractalGenerator |
---|
calculateComplexFromScreenCoordinates, getComplexOrigin, getRealDimension, getScreenHeight, getScreenWidth, setComplexOrigin, setRealDimension, setScreenDimension |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleDoublePrecisionMandelbrotGenerator(int maxIterations)
maxIterations
- the maximum number of iterations to useMethod Detail |
---|
public int getNumberOfIterationsAtPixel(int x, int y)
x
- the x coordinate of the specified pixely
- the y coordinate of the specified pixel
FractalGenerator.getNumberOfIterationsAtPixel(int, int)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |