LinearInterpolator class
- Inheritance
-
- Object
- NoisePlane
- NoisePlaneProvider
- Interpolator
- LinearInterpolator
Constructors
- LinearInterpolator({required NoisePlane input, required double scale})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- input ↔ NoisePlane
-
getter/setter pairinherited
- iscale ↔ double
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scaleInterpolation ↔ double
-
getter/setter pairinherited
Methods
-
benchmark(
String name, double ms) → void -
inherited
-
cellularize(
int seed) → NoisePlane -
inherited
-
cubic(
double scale) → CubicInterpolator -
inherited
-
double2Long(
double f) → int -
inherited
-
exponent(
double exponent) → NoisePlane -
inherited
-
fit(
double min, double max) → NoisePlane -
inherited
-
floor(
double f) → int -
inherited
-
getMaxOutput(
) → double -
inherited
-
getMinOutput(
) → double -
inherited
-
getRadiusFactor(
double coord) → int -
inherited
-
getScaleBoundsC1D2(
double x) → List< int> -
Gets the x1,x2
@param x cx coord
@return
x1,x2
inherited -
getScaleBoundsC1D4(
double x) → List< int> -
Gets the x1,x2,x3,x4
@param x cx coord
@return
x1,x2,x3,x4
inherited -
getScaleBoundsC2D2(
double x, double y) → List< int> -
Gets the x1,x2,y1,y2
@param x cx coord
@param y cy coord
@return
x1,x2,y1,y2
inherited -
getScaleBoundsC2D4(
double x, double y) → List< int> -
Gets the x1,x2,x3,x4,y1,y2,y3,y4
@param x cx coord
@return
x1,x2,x3,x4,y1,y2,y3,y4
inherited -
getScaleBoundsC3D2(
double x, double y, double z) → List< int> -
Gets the x1,x2,y1,y2,z1,z2
@param x cx coord
@param y cy coord
@param z cz coord
@return
x1,x2,y1,y2,z1,z2
inherited -
getScaleBoundsC3D4(
double x, double y, double z) → List< int> -
Gets the x1,x2,x3,x4,y1,y2,y3,y4,z1,z2,z3,z4
@param x cx coord
@return
x1,x2,x3,x4,y1,y2,y3,y4,z1,z2,z3,z4
inherited -
getSeed(
) → int -
inherited
-
gradCoord1D(
int seed, int x, double xd) → double -
inherited
-
gradCoord2D(
int seed, int x, int y, double xd, double yd) → double -
inherited
-
gradCoord3D(
int seed, int x, int y, int z, double xd, double yd, double zd) → double -
inherited
-
hash2D(
int seed, int x, int y) → int -
inherited
-
hash3D(
int seed, int x, int y, int z) → int -
inherited
-
hash4D(
int seed, int x, int y, int z, int w) → int -
inherited
-
hermite(
double scale) → HermiteInterpolator -
inherited
-
interpHermiteFunc(
double t) → double -
inherited
-
isFlat(
) → bool -
inherited
-
isScalable(
) → bool -
inherited
-
linear(
double scale) → LinearInterpolator -
inherited
-
noise1(
double x) → double -
override
-
noise2(
double x, double y) → double -
override
-
noise3(
double x, double y, double z) → double -
override
-
normalize(
double bmin, double bmax, double b) → double -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
octave(
int octaves, double gain) → NoisePlane -
inherited
-
round(
double f) → int -
inherited
-
scale(
double scale) → NoisePlane -
inherited
-
starcast(
double scale, double checks) → StarcastInterpolator -
inherited
-
starcast9(
double scale) → StarcastInterpolator -
inherited
-
step(
double a, double b) → double -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
valCoord1D(
int seed, int x) → double -
inherited
-
valCoord2D(
int seed, int x, int y) → double -
inherited
-
valCoord3D(
int seed, int x, int y, int z) → double -
inherited
-
warp(
NoisePlane warp, double scale, double multiplier) → NoisePlane -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited