C# Класс 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.
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
interpolationMethod InterpolationMethod
length System.Int32
maxClamp Double
minClamp Double

Открытые методы

Метод Описание
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.

Описание методов

Generate() публичный абстрактный Метод

Generate the noise field for this object. Necessary before values may be looked up with this object's indexers.
public abstract Generate ( ) : void
Результат void

GetNoiseValue() публичный абстрактный Метод

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.
Результат Double

GetNoiseValue() публичный абстрактный Метод

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.
Результат Double

this() публичный Метод

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.
Результат Double

this() публичный Метод

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.
Результат Double

Описание свойств

interpolationMethod защищенное свойство

protected InterpolationMethod interpolationMethod
Результат InterpolationMethod

length защищенное свойство

protected Int32,System length
Результат System.Int32

maxClamp защищенное свойство

protected Double maxClamp
Результат Double

minClamp защищенное свойство

protected Double minClamp
Результат Double