jsci.maths.chaos
Class CantorDust
java.lang.Object
jsci.maths.chaos.CantorDust
public abstract class CantorDust
- extends Object
The CantorDust class provides an object that encapsulates the Cantor dust fractal.
Method Summary |
double |
hausdorffDimension()
|
void |
recurse(double start,
double end,
int n)
The recursive algorithm for Cantor dust. |
CantorDust
public CantorDust()
hausdorffDimension
public double hausdorffDimension()
recurse
public void recurse(double start,
double end,
int n)
- The recursive algorithm for Cantor dust.
- Parameters:
start
- the start of the line.end
- the end of the line.n
- the number of recursions.
jHepWork 3.1 ©