C# 클래스 NewTOAPIA.Interpolator

파일 보기 프로젝트 열기: Wiladams/NewTOAPIA

공개 메소드들

메소드 설명
LinearInterpolation ( Point starting, Point ending, double completion ) : Point

Return a value that is a linear interpolation between the beginning value, and the ending value.

LinearInterpolation ( float2 starting, float2 ending, double completion ) : float2

Return a value that is a linear interpolation between the beginning value, and the ending value.

LinearInterpolation ( int starting, int ending, double completion ) : int

Return a value that is a linear interpolation between the beginning value, and the ending value.

메소드 상세

LinearInterpolation() 공개 정적인 메소드

Return a value that is a linear interpolation between the beginning value, and the ending value.
public static LinearInterpolation ( Point starting, Point ending, double completion ) : Point
starting Point The initial vector position.
ending Point The final vector position.
completion double The amount of units along in the interpolation. /// this value should range from 0.0 (returns initial value) and 1.0 (returns final value).
리턴 Point

LinearInterpolation() 공개 정적인 메소드

Return a value that is a linear interpolation between the beginning value, and the ending value.
public static LinearInterpolation ( float2 starting, float2 ending, double completion ) : float2
starting float2 The initial vector position.
ending float2 The final vector position.
completion double The amount of units along in the interpolation. /// this value should range from 0.0 (returns initial value) and 1.0 (returns final value).
리턴 float2

LinearInterpolation() 공개 정적인 메소드

Return a value that is a linear interpolation between the beginning value, and the ending value.
public static LinearInterpolation ( int starting, int ending, double completion ) : int
starting int The initial vector position.
ending int The final vector position.
completion double The amount of units along in the interpolation. /// this value should range from 0.0 (returns initial value) and 1.0 (returns final value).
리턴 int