Package com.jhlabs.math
Class FBM
- java.lang.Object
-
- com.jhlabs.math.FBM
-
- All Implemented Interfaces:
Function2D
public class FBM extends java.lang.Object implements Function2D
-
-
Field Summary
Fields Modifier and Type Field Description protected Function2D
basis
protected float[]
exponents
protected float
H
protected float
lacunarity
protected float
octaves
-
Constructor Summary
Constructors Constructor Description FBM(float H, float lacunarity, float octaves)
FBM(float H, float lacunarity, float octaves, Function2D basis)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
evaluate(float x, float y)
Function2D
getBasisType()
void
setBasis(Function2D basis)
-
-
-
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 interfaceFunction2D
-
-