Package com.jhlabs.math
Class SCNoise
- java.lang.Object
-
- com.jhlabs.math.SCNoise
-
- All Implemented Interfaces:
Function1D,Function2D,Function3D
public class SCNoise extends java.lang.Object implements Function1D, Function2D, Function3D
Sparse Convolution Noise. This is computationally very expensive, but worth it.
-
-
Field Summary
Fields Modifier and Type Field Description short[]perm
-
Constructor Summary
Constructors Constructor Description SCNoise()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description floatcatrom2(float d)floatevaluate(float x)floatevaluate(float x, float y)floatevaluate(float x, float y, float z)static intfloor(float x)
-
-
-
Method Detail
-
evaluate
public float evaluate(float x)
- Specified by:
evaluatein interfaceFunction1D
-
evaluate
public float evaluate(float x, float y)- Specified by:
evaluatein interfaceFunction2D
-
evaluate
public float evaluate(float x, float y, float z)- Specified by:
evaluatein interfaceFunction3D
-
floor
public static int floor(float x)
-
catrom2
public float catrom2(float d)
-
-