C# Class Sharplike.Noise.Abstract1DNoise

Abstract parent class for all noise field generators in Sharplike.Noise. Serves to both provide a blueprint for one-dimensional noise generators and a jumping-off point for two- and further-dimensional noise generators.
Mostrar archivo Open project: eropple/sharplike

Protected Properties

Property Type Description
interpolationMethod InterpolationMethod
length System.Int32
maxClamp Double
minClamp Double

Public Methods

Method Description
Generate ( ) : void

Generate the noise field for this object. Necessary before values may be looked up with this object's indexers.

GetNoiseValue ( Double x ) : Double

Accessor. Look up a non-integral position in the noise field and, if InterpolationMethod is set to anything other than InterpolationMethod.None, return the interpolated value (else return the nearest neighbor).

GetNoiseValue ( Int32 x ) : Double

Accessor. Look up an integral position in the noise field.

this ( Double x ) : Double

Accessor. Look up a non-integral position in the noise field and, if InterpolationMethod is set to anything other than InterpolationMethod.None, return the interpolated value (else return the nearest neighbor).

this ( Int32 x ) : Double

Accessor. Look up an integral position in the noise field.

Method Details

Generate() public abstract method

Generate the noise field for this object. Necessary before values may be looked up with this object's indexers.
public abstract Generate ( ) : void
return void

GetNoiseValue() public abstract method

Accessor. Look up a non-integral position in the noise field and, if InterpolationMethod is set to anything other than InterpolationMethod.None, return the interpolated value (else return the nearest neighbor).
public abstract GetNoiseValue ( Double x ) : Double
x Double The X-coordinate in the noise field.
return Double

GetNoiseValue() public abstract method

Accessor. Look up an integral position in the noise field.
public abstract GetNoiseValue ( Int32 x ) : Double
x System.Int32 The X-coordinate in the noise field.
return Double

this() public method

Accessor. Look up a non-integral position in the noise field and, if InterpolationMethod is set to anything other than InterpolationMethod.None, return the interpolated value (else return the nearest neighbor).
public this ( Double x ) : Double
x Double The X-coordinate in the noise field.
return Double

this() public method

Accessor. Look up an integral position in the noise field.
public this ( Int32 x ) : Double
x System.Int32 The X-coordinate in the noise field.
return Double

Property Details

interpolationMethod protected_oe property

protected InterpolationMethod interpolationMethod
return InterpolationMethod

length protected_oe property

protected Int32,System length
return System.Int32

maxClamp protected_oe property

protected Double maxClamp
return Double

minClamp protected_oe property

protected Double minClamp
return Double