com.jhlabs.math
Class CellularFunction2D

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

public class CellularFunction2D
extends java.lang.Object
implements Function2D


Field Summary
 boolean angular
           
 boolean cells
           
 float distancePower
           
 
Constructor Summary
CellularFunction2D()
           
 
Method Summary
 float evaluate(float x, float y)
           
 float getCoefficient(int c)
           
 void setCoefficient(int c, float v)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

distancePower

public float distancePower

cells

public boolean cells

angular

public boolean angular
Constructor Detail

CellularFunction2D

public CellularFunction2D()
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 interface Function2D