public class MandelbrotAlgorithm extends java.lang.Object implements IFractalAlgorithm
| Constructor and Description |
|---|
MandelbrotAlgorithm() |
| Modifier and Type | Method and Description |
|---|---|
short |
determineColor(double xn,
double yn,
short max)
Determine the color of a point.
|
boolean |
equals(java.lang.Object obj)
Test if two objects are equal.
|
AreaData |
getDefaultSettings()
Get default settings for rendering the fractal.
|
int |
hashCode()
Get the hash code.
|
boolean |
isOptimizationAllowed()
Can areas be filled?
|
java.lang.String |
toString()
Get a string representation.
|
boolean |
useColorCycle()
Should a cyclic color scheme be used?
|
public short determineColor(double xn,
double yn,
short max)
determineColor in interface IFractalAlgorithmx - The x coordinate.y - The y coordinate.max - The maximum depth.public boolean isOptimizationAllowed()
isOptimizationAllowed in interface IFractalAlgorithmpublic AreaData getDefaultSettings()
getDefaultSettings in interface IFractalAlgorithmpublic boolean useColorCycle()
useColorCycle in interface IFractalAlgorithmpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object