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.
Afficher le fichier Open project: eropple/sharplike

Protected Properties

Свойство Type Description
interpolationMethod InterpolationMethod
length System.Int32
maxClamp Double
minClamp Double

Méthodes publiques

Méthode 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 méthode

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

GetNoiseValue() public abstract méthode

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.
Résultat Double

GetNoiseValue() public abstract méthode

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.
Résultat Double

this() public méthode

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.
Résultat Double

this() public méthode

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.
Résultat Double

Property Details

interpolationMethod protected_oe property

protected InterpolationMethod interpolationMethod
Résultat InterpolationMethod

length protected_oe property

protected Int32,System length
Résultat System.Int32

maxClamp protected_oe property

protected Double maxClamp
Résultat Double

minClamp protected_oe property

protected Double minClamp
Résultat Double