Package squidpony.squidmath
Class Noise.Scaled1D
java.lang.Object
squidpony.squidmath.Noise.Scaled1D
- All Implemented Interfaces:
Noise.Noise1D
- Enclosing class:
- Noise
public static class Noise.Scaled1D extends Object implements Noise.Noise1D
-
Field Summary
Fields Modifier and Type Field Description protected Noise.Noise1D
basis
protected double
scaleX
-
Constructor Summary
Constructors Constructor Description Scaled1D()
Scaled1D(Noise.Noise1D basis)
Scaled1D(Noise.Noise1D basis, double scaleX)
-
Method Summary
Modifier and Type Method Description double
getNoise(double x)
double
getNoiseWithSeed(double x, long seed)
-
Field Details
-
Constructor Details
-
Method Details
-
getNoise
- Specified by:
getNoise
in interfaceNoise.Noise1D
-
getNoiseWithSeed
- Specified by:
getNoiseWithSeed
in interfaceNoise.Noise1D
-