Package com.jhlabs.math
Class CellularFunction2D
- java.lang.Object
-
- com.jhlabs.math.CellularFunction2D
-
- All Implemented Interfaces:
Function2D
public class CellularFunction2D extends java.lang.Object implements Function2D
-
-
Field Summary
Fields Modifier and Type Field Description boolean
angular
boolean
cells
float
distancePower
-
Constructor Summary
Constructors Constructor Description CellularFunction2D()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
evaluate(float x, float y)
float
getCoefficient(int c)
void
setCoefficient(int c, float v)
-
-
-
Method Detail
-
setCoefficient
public void setCoefficient(int c, float v)
-
getCoefficient
public float getCoefficient(int c)
-
evaluate
public float evaluate(float x, float y)
- Specified by:
evaluate
in interfaceFunction2D
-
-