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 IFractalAlgorithm
x
- The x coordinate.y
- The y coordinate.max
- The maximum depth.public boolean isOptimizationAllowed()
isOptimizationAllowed
in interface IFractalAlgorithm
public AreaData getDefaultSettings()
getDefaultSettings
in interface IFractalAlgorithm
public boolean useColorCycle()
useColorCycle
in interface IFractalAlgorithm
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object