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


Field Summary
protected  Function2D basis
           
protected  float[] exponents
           
protected  float H
           
protected  float lacunarity
           
protected  float octaves
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

exponents

protected float[] exponents

H

protected float H

lacunarity

protected float lacunarity

octaves

protected float octaves

basis

protected Function2D basis
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