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.
파일 보기 프로젝트 열기: eropple/sharplike

보호된 프로퍼티들

프로퍼티 타입 설명
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