Package com.jhlabs.math
Class TurbulenceFunction
- java.lang.Object
-
- com.jhlabs.math.CompoundFunction2D
-
- com.jhlabs.math.TurbulenceFunction
-
- All Implemented Interfaces:
Function2D
public class TurbulenceFunction extends CompoundFunction2D
-
-
Field Summary
-
Fields inherited from class com.jhlabs.math.CompoundFunction2D
basis
-
-
Constructor Summary
Constructors Constructor Description TurbulenceFunction(Function2D basis, float octaves)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
evaluate(float x, float y)
float
getOctaves()
void
setOctaves(float octaves)
-
Methods inherited from class com.jhlabs.math.CompoundFunction2D
getBasis, setBasis
-
-
-
-
Constructor Detail
-
TurbulenceFunction
public TurbulenceFunction(Function2D basis, float octaves)
-
-