C# Класс Kalcium.Mathematics

Показать файл Открыть проект

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

Метод Описание
ConstrainBetween ( this value, double min, double max ) : double
ConstrainBetween ( this value, float min, float max ) : float
ConstrainBetween ( this value, int min, int max ) : int
FromRadiansToDegrees ( this x ) : double
IsEven ( this value ) : bool
IsOdd ( this value ) : bool
IsWithinRange ( this x, double min, double max ) : bool
Sq ( this x ) : double
Sq ( this x ) : int

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

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

public static ConstrainBetween ( this value, double min, double max ) : double
value this
min double
max double
Результат double

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

public static ConstrainBetween ( this value, float min, float max ) : float
value this
min float
max float
Результат float

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

public static ConstrainBetween ( this value, int min, int max ) : int
value this
min int
max int
Результат int

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

public static FromRadiansToDegrees ( this x ) : double
x this
Результат double

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

public static IsEven ( this value ) : bool
value this
Результат bool

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

public static IsOdd ( this value ) : bool
value this
Результат bool

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

public static IsWithinRange ( this x, double min, double max ) : bool
x this
min double
max double
Результат bool

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

public static Sq ( this x ) : double
x this
Результат double

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

public static Sq ( this x ) : int
x this
Результат int