C# Class TinkerWorX.AccidentalNoiseLibrary.Noise

Exibir arquivo Open project: TinkerWorX/AccidentalNoiseLibrary

Public Methods

Method Description
CellularFunction ( Double x, Double y, Double z, Double w, Double u, Double v, Int32 seed, Double f, Double disp ) : void
CellularFunction ( Double x, Double y, Double z, Double w, Int32 seed, Double f, Double disp ) : void
CellularFunction ( Double x, Double y, Double z, Int32 seed, Double f, Double disp ) : void
CellularFunction ( Double x, Double y, Int32 seed, Double f, Double disp ) : void
GradientNoise ( Double x, Double y, Double z, Double w, Double u, Double v, Int32 seed, InterpolationDelegate interp ) : Double
GradientNoise ( Double x, Double y, Double z, Double w, Int32 seed, InterpolationDelegate interp ) : Double
GradientNoise ( Double x, Double y, Double z, Int32 seed, InterpolationDelegate interp ) : Double
GradientNoise ( Double x, Double y, Int32 seed, InterpolationDelegate interp ) : Double
GradientValueNoise ( Double x, Double y, Double z, Double w, Double u, Double v, Int32 seed, InterpolationDelegate interp ) : Double
GradientValueNoise ( Double x, Double y, Double z, Double w, Int32 seed, InterpolationDelegate interp ) : Double
GradientValueNoise ( Double x, Double y, Double z, Int32 seed, InterpolationDelegate interp ) : Double
GradientValueNoise ( Double x, Double y, Int32 seed, InterpolationDelegate interp ) : Double
HermiteInterpolation ( Double t ) : Double
LinearInterpolation ( Double t ) : Double
NewSimplexNoise4D ( Double x, Double y, Double z, Double w, Int32 seed, InterpolationDelegate interp ) : Double
NoInterpolation ( Double t ) : Double
QuinticInterpolation ( Double t ) : Double
SimplexNoise ( Double x, Double y, Double z, Double w, Double u, Double v, Int32 seed, InterpolationDelegate interp ) : Double
SimplexNoise ( Double x, Double y, Double z, Double w, Int32 seed, InterpolationDelegate interp ) : Double
SimplexNoise ( Double x, Double y, Double z, Int32 seed, InterpolationDelegate interp ) : Double
SimplexNoise ( Double x, Double y, Int32 seed, InterpolationDelegate interp ) : Double
ValueNoise ( Double x, Double y, Double z, Double w, Double u, Double v, Int32 seed, InterpolationDelegate interp ) : Double
ValueNoise ( Double x, Double y, Double z, Double w, Int32 seed, InterpolationDelegate interp ) : Double
ValueNoise ( Double x, Double y, Double z, Int32 seed, InterpolationDelegate interp ) : Double
ValueNoise ( Double x, Double y, Int32 seed, InterpolationDelegate interp ) : Double
WhiteNoise ( Double x, Double y, Double z, Double w, Double u, Double v, Int32 seed, InterpolationDelegate interp ) : Double
WhiteNoise ( Double x, Double y, Double z, Double w, Int32 seed, InterpolationDelegate interp ) : Double
WhiteNoise ( Double x, Double y, Double z, Int32 seed, InterpolationDelegate interp ) : Double
WhiteNoise ( Double x, Double y, Int32 seed, InterpolationDelegate interp ) : Double

Private Methods

Method Description
AddDistance ( Double f, Double disp, Double testdist, Double testdisp ) : void
ArrayDot ( Double arr, Double a, Double b ) : Double
ArrayDot ( Double arr, Double a, Double b, Double c ) : Double
ArrayDot ( Double arr, Double x, Double y, Double z, Double w ) : Double
ArrayDot ( Double arr, Double x, Double y, Double z, Double w, Double u, Double v ) : Double
FNV1A_3d ( Double x, Double y, Double z, Int32 seed ) : UInt32
FNV32Buffer ( Byte buffer, UInt32 len ) : UInt32
FNV32Buffer ( Double doubleBuffer, UInt32 len ) : UInt32
FNV32Buffer ( Int32 uintBuffer, UInt32 len ) : UInt32
FastFloor ( Double t ) : Int32
HashCoordinates ( Double x, Double y, Double z, Double w, Double u, Double v, Int32 seed ) : UInt32
HashCoordinates ( Double x, Double y, Double z, Double w, Int32 seed ) : UInt32
HashCoordinates ( Double x, Double y, Double z, Int32 seed ) : UInt32
HashCoordinates ( Double x, Double y, Int32 seed ) : UInt32
HashCoordinates ( Int32 x, Int32 y, Int32 seed ) : UInt32
HashCoordinates ( Int32 x, Int32 y, Int32 z, Int32 seed ) : UInt32
HashCoordinates ( Int32 x, Int32 y, Int32 z, Int32 w, Int32 seed ) : UInt32
HashCoordinates ( Int32 x, Int32 y, Int32 z, Int32 w, Int32 u, Int32 v, Int32 seed ) : UInt32
InternalGradientNoise ( Double x, Double y, Double z, Double w, Double u, Double v, Int32 ix, Int32 iy, Int32 iz, Int32 iw, Int32 iu, Int32 iv, Int32 seed ) : Double
InternalGradientNoise ( Double x, Double y, Double z, Double w, Int32 ix, Int32 iy, Int32 iz, Int32 iw, Int32 seed ) : Double
InternalGradientNoise ( Double x, Double y, Double z, Int32 ix, Int32 iy, Int32 iz, Int32 seed ) : Double
InternalGradientNoise ( Double x, Double y, Int32 ix, Int32 iy, Int32 seed ) : Double
InternalValueNoise ( Double x, Double y, Double z, Double w, Double u, Double v, Int32 ix, Int32 iy, Int32 iz, Int32 iw, Int32 iu, Int32 iv, Int32 seed ) : Double
InternalValueNoise ( Double x, Double y, Double z, Double w, Int32 ix, Int32 iy, Int32 iz, Int32 iw, Int32 seed ) : Double
InternalValueNoise ( Double x, Double y, Double z, Int32 ix, Int32 iy, Int32 iz, Int32 seed ) : Double
InternalValueNoise ( Double x, Double y, Int32 ix, Int32 iy, Int32 seed ) : Double
Lerp ( Double s, Double v1, Double v2 ) : Double
SortBy4 ( Double l1, Int32 l2 ) : void
SortBy6 ( Double l1, Int32 l2 ) : void
VectorOrdering4Compare ( VectorOrdering4 v1, VectorOrdering4 v2 ) : Int32
VectorOrderingCompare ( VectorOrdering v1, VectorOrdering v2 ) : Int32
XORFoldHash ( UInt32 hash ) : Byte
interpolate_XYZWUV_6 ( Double x, Double y, Double z, Double w, Double u, Double v, Double xs, Double ys, Double zs, Double ws, Double us, Double vs, Int32 x0, Int32 x1, Int32 y0, Int32 y1, Int32 z0, Int32 z1, Int32 w0, Int32 w1, Int32 u0, Int32 u1, Int32 v0, Int32 v1, Int32 seed, WorkerNoise6 noisefunc ) : Double
interpolate_XYZWU_6 ( Double x, Double y, Double z, Double w, Double u, Double v, Double xs, Double ys, Double zs, Double ws, Double us, Int32 x0, Int32 x1, Int32 y0, Int32 y1, Int32 z0, Int32 z1, Int32 w0, Int32 w1, Int32 u0, Int32 u1, Int32 iv, Int32 seed, WorkerNoise6 noisefunc ) : Double
interpolate_XYZW_4 ( Double x, Double y, Double z, Double w, Double xs, Double ys, Double zs, Double ws, Int32 x0, Int32 x1, Int32 y0, Int32 y1, Int32 z0, Int32 z1, Int32 w0, Int32 w1, Int32 seed, WorkerNoise4 noisefunc ) : Double
interpolate_XYZW_6 ( Double x, Double y, Double z, Double w, Double u, Double v, Double xs, Double ys, Double zs, Double ws, Int32 x0, Int32 x1, Int32 y0, Int32 y1, Int32 z0, Int32 z1, Int32 w0, Int32 w1, Int32 iu, Int32 iv, Int32 seed, WorkerNoise6 noisefunc ) : Double
interpolate_XYZ_3 ( Double x, Double y, Double z, Double xs, Double ys, Double zs, Int32 x0, Int32 x1, Int32 y0, Int32 y1, Int32 z0, Int32 z1, Int32 seed, WorkerNoise3 noisefunc ) : Double
interpolate_XYZ_4 ( Double x, Double y, Double z, Double w, Double xs, Double ys, Double zs, Int32 x0, Int32 x1, Int32 y0, Int32 y1, Int32 z0, Int32 z1, Int32 iw, Int32 seed, WorkerNoise4 noisefunc ) : Double
interpolate_XYZ_6 ( Double x, Double y, Double z, Double w, Double u, Double v, Double xs, Double ys, Double zs, Int32 x0, Int32 x1, Int32 y0, Int32 y1, Int32 z0, Int32 z1, Int32 iw, Int32 iu, Int32 iv, Int32 seed, WorkerNoise6 noisefunc ) : Double
interpolate_XY_2 ( Double x, Double y, Double xs, Double ys, Int32 x0, Int32 x1, Int32 y0, Int32 y1, Int32 seed, WorkerNoise2 noisefunc ) : Double
interpolate_XY_3 ( Double x, Double y, Double z, Double xs, Double ys, Int32 x0, Int32 x1, Int32 y0, Int32 y1, Int32 iz, Int32 seed, WorkerNoise3 noisefunc ) : Double
interpolate_XY_4 ( Double x, Double y, Double z, Double w, Double xs, Double ys, Int32 x0, Int32 x1, Int32 y0, Int32 y1, Int32 iz, Int32 iw, Int32 seed, WorkerNoise4 noisefunc ) : Double
interpolate_XY_6 ( Double x, Double y, Double z, Double w, Double u, Double v, Double xs, Double ys, Int32 x0, Int32 x1, Int32 y0, Int32 y1, Int32 iz, Int32 iw, Int32 iu, Int32 iv, Int32 seed, WorkerNoise6 noisefunc ) : Double
interpolate_X_2 ( Double x, Double y, Double xs, Int32 x0, Int32 x1, Int32 iy, Int32 seed, WorkerNoise2 noisefunc ) : Double
interpolate_X_3 ( Double x, Double y, Double z, Double xs, Int32 x0, Int32 x1, Int32 iy, Int32 iz, Int32 seed, WorkerNoise3 noisefunc ) : Double
interpolate_X_4 ( Double x, Double y, Double z, Double w, Double xs, Int32 x0, Int32 x1, Int32 iy, Int32 iz, Int32 iw, Int32 seed, WorkerNoise4 noisefunc ) : Double
interpolate_X_6 ( Double x, Double y, Double z, Double w, Double u, Double v, Double xs, Int32 x0, Int32 x1, Int32 iy, Int32 iz, Int32 iw, Int32 iu, Int32 iv, Int32 seed, WorkerNoise6 noisefunc ) : Double

Method Details

CellularFunction() public static method

public static CellularFunction ( Double x, Double y, Double z, Double w, Double u, Double v, Int32 seed, Double f, Double disp ) : void
x Double
y Double
z Double
w Double
u Double
v Double
seed System.Int32
f Double
disp Double
return void

CellularFunction() public static method

public static CellularFunction ( Double x, Double y, Double z, Double w, Int32 seed, Double f, Double disp ) : void
x Double
y Double
z Double
w Double
seed System.Int32
f Double
disp Double
return void

CellularFunction() public static method

public static CellularFunction ( Double x, Double y, Double z, Int32 seed, Double f, Double disp ) : void
x Double
y Double
z Double
seed System.Int32
f Double
disp Double
return void

CellularFunction() public static method

public static CellularFunction ( Double x, Double y, Int32 seed, Double f, Double disp ) : void
x Double
y Double
seed System.Int32
f Double
disp Double
return void

GradientNoise() public static method

public static GradientNoise ( Double x, Double y, Double z, Double w, Double u, Double v, Int32 seed, InterpolationDelegate interp ) : Double
x Double
y Double
z Double
w Double
u Double
v Double
seed System.Int32
interp InterpolationDelegate
return Double

GradientNoise() public static method

public static GradientNoise ( Double x, Double y, Double z, Double w, Int32 seed, InterpolationDelegate interp ) : Double
x Double
y Double
z Double
w Double
seed System.Int32
interp InterpolationDelegate
return Double

GradientNoise() public static method

public static GradientNoise ( Double x, Double y, Double z, Int32 seed, InterpolationDelegate interp ) : Double
x Double
y Double
z Double
seed System.Int32
interp InterpolationDelegate
return Double

GradientNoise() public static method

public static GradientNoise ( Double x, Double y, Int32 seed, InterpolationDelegate interp ) : Double
x Double
y Double
seed System.Int32
interp InterpolationDelegate
return Double

GradientValueNoise() public static method

public static GradientValueNoise ( Double x, Double y, Double z, Double w, Double u, Double v, Int32 seed, InterpolationDelegate interp ) : Double
x Double
y Double
z Double
w Double
u Double
v Double
seed System.Int32
interp InterpolationDelegate
return Double

GradientValueNoise() public static method

public static GradientValueNoise ( Double x, Double y, Double z, Double w, Int32 seed, InterpolationDelegate interp ) : Double
x Double
y Double
z Double
w Double
seed System.Int32
interp InterpolationDelegate
return Double

GradientValueNoise() public static method

public static GradientValueNoise ( Double x, Double y, Double z, Int32 seed, InterpolationDelegate interp ) : Double
x Double
y Double
z Double
seed System.Int32
interp InterpolationDelegate
return Double

GradientValueNoise() public static method

public static GradientValueNoise ( Double x, Double y, Int32 seed, InterpolationDelegate interp ) : Double
x Double
y Double
seed System.Int32
interp InterpolationDelegate
return Double

HermiteInterpolation() public static method

public static HermiteInterpolation ( Double t ) : Double
t Double
return Double

LinearInterpolation() public static method

public static LinearInterpolation ( Double t ) : Double
t Double
return Double

NewSimplexNoise4D() public static method

public static NewSimplexNoise4D ( Double x, Double y, Double z, Double w, Int32 seed, InterpolationDelegate interp ) : Double
x Double
y Double
z Double
w Double
seed System.Int32
interp InterpolationDelegate
return Double

NoInterpolation() public static method

public static NoInterpolation ( Double t ) : Double
t Double
return Double

QuinticInterpolation() public static method

public static QuinticInterpolation ( Double t ) : Double
t Double
return Double

SimplexNoise() public static method

public static SimplexNoise ( Double x, Double y, Double z, Double w, Double u, Double v, Int32 seed, InterpolationDelegate interp ) : Double
x Double
y Double
z Double
w Double
u Double
v Double
seed System.Int32
interp InterpolationDelegate
return Double

SimplexNoise() public static method

public static SimplexNoise ( Double x, Double y, Double z, Double w, Int32 seed, InterpolationDelegate interp ) : Double
x Double
y Double
z Double
w Double
seed System.Int32
interp InterpolationDelegate
return Double

SimplexNoise() public static method

public static SimplexNoise ( Double x, Double y, Double z, Int32 seed, InterpolationDelegate interp ) : Double
x Double
y Double
z Double
seed System.Int32
interp InterpolationDelegate
return Double

SimplexNoise() public static method

public static SimplexNoise ( Double x, Double y, Int32 seed, InterpolationDelegate interp ) : Double
x Double
y Double
seed System.Int32
interp InterpolationDelegate
return Double

ValueNoise() public static method

public static ValueNoise ( Double x, Double y, Double z, Double w, Double u, Double v, Int32 seed, InterpolationDelegate interp ) : Double
x Double
y Double
z Double
w Double
u Double
v Double
seed System.Int32
interp InterpolationDelegate
return Double

ValueNoise() public static method

public static ValueNoise ( Double x, Double y, Double z, Double w, Int32 seed, InterpolationDelegate interp ) : Double
x Double
y Double
z Double
w Double
seed System.Int32
interp InterpolationDelegate
return Double

ValueNoise() public static method

public static ValueNoise ( Double x, Double y, Double z, Int32 seed, InterpolationDelegate interp ) : Double
x Double
y Double
z Double
seed System.Int32
interp InterpolationDelegate
return Double

ValueNoise() public static method

public static ValueNoise ( Double x, Double y, Int32 seed, InterpolationDelegate interp ) : Double
x Double
y Double
seed System.Int32
interp InterpolationDelegate
return Double

WhiteNoise() public static method

public static WhiteNoise ( Double x, Double y, Double z, Double w, Double u, Double v, Int32 seed, InterpolationDelegate interp ) : Double
x Double
y Double
z Double
w Double
u Double
v Double
seed System.Int32
interp InterpolationDelegate
return Double

WhiteNoise() public static method

public static WhiteNoise ( Double x, Double y, Double z, Double w, Int32 seed, InterpolationDelegate interp ) : Double
x Double
y Double
z Double
w Double
seed System.Int32
interp InterpolationDelegate
return Double

WhiteNoise() public static method

public static WhiteNoise ( Double x, Double y, Double z, Int32 seed, InterpolationDelegate interp ) : Double
x Double
y Double
z Double
seed System.Int32
interp InterpolationDelegate
return Double

WhiteNoise() public static method

public static WhiteNoise ( Double x, Double y, Int32 seed, InterpolationDelegate interp ) : Double
x Double
y Double
seed System.Int32
interp InterpolationDelegate
return Double