C# 클래스 Afterglow.Math.Functions

Contains common mathematical functions.
파일 보기 프로젝트 열기: Christof/afterglow

공개 메소드들

메소드 설명
Abs ( float value ) : float

Returns the absolute value for the given one.

Acos ( float number ) : float

Calculates the angle whose cosine is the given number.

Asin ( float number ) : float

Calculates the angle whose sine is the given number.

Atan ( float number ) : float

Calculates the angle whose tangent is the specified number.

CoTan ( float angle ) : float

Co-Tangens function (cos / sin).

Cos ( float angle ) : float

Returns the cosine of the given angle.

Pow ( float baseValue, float exponent ) : float

Returns base raised to exponent.

Sin ( float angle ) : float

Returns the sine of the given angle.

Sqrt ( float x ) : float

Returns the square root of a specified number.

Tan ( float angle ) : float

Returns the tangent of the given angle.

메소드 상세

Abs() 공개 정적인 메소드

Returns the absolute value for the given one.
public static Abs ( float value ) : float
value float The value.
리턴 float

Acos() 공개 정적인 메소드

Calculates the angle whose cosine is the given number.
public static Acos ( float number ) : float
number float A number representing a cosine, where -1 ≤ number ≤ 1.
리턴 float

Asin() 공개 정적인 메소드

Calculates the angle whose sine is the given number.
public static Asin ( float number ) : float
number float A number representing a sine, where -1 ≤ number ≤ 1.
리턴 float

Atan() 공개 정적인 메소드

Calculates the angle whose tangent is the specified number.
public static Atan ( float number ) : float
number float A number representing a tangent.
리턴 float

CoTan() 공개 정적인 메소드

Co-Tangens function (cos / sin).
public static CoTan ( float angle ) : float
angle float An angle, measured in radians.
리턴 float

Cos() 공개 정적인 메소드

Returns the cosine of the given angle.
public static Cos ( float angle ) : float
angle float An angle, measured in radians.
리턴 float

Pow() 공개 정적인 메소드

Returns base raised to exponent.
public static Pow ( float baseValue, float exponent ) : float
baseValue float The base value.
exponent float The exponent value.
리턴 float

Sin() 공개 정적인 메소드

Returns the sine of the given angle.
public static Sin ( float angle ) : float
angle float An angle, measured in radians.
리턴 float

Sqrt() 공개 정적인 메소드

Returns the square root of a specified number.
public static Sqrt ( float x ) : float
x float The number.
리턴 float

Tan() 공개 정적인 메소드

Returns the tangent of the given angle.
public static Tan ( float angle ) : float
angle float An angle, measured in radians.
리턴 float