C# Класс Afterglow.Math.Functions

Contains common mathematical functions.
Показать файл Открыть проект

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

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