com.jhlabs.math
Class FBM

java.lang.Object
  extended by com.jhlabs.math.FBM
All Implemented Interfaces:
Function2D

public class FBM
extends java.lang.Object
implements Function2D


Constructor Summary
FBM(float H, float lacunarity, float octaves)
           
FBM(float H, float lacunarity, float octaves, Function2D basis)
           
 
Method Summary
 float evaluate(float x, float y)
           
 Function2D getBasisType()
           
 void setBasis(Function2D basis)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FBM

public FBM(float H,
           float lacunarity,
           float octaves)

FBM

public FBM(float H,
           float lacunarity,
           float octaves,
           Function2D basis)
Method Detail

setBasis

public void setBasis(Function2D basis)

getBasisType

public Function2D getBasisType()

evaluate

public float evaluate(float x,
                      float y)
Specified by:
evaluate in interface Function2D