Table of Contents

Class MathConstants

Namespace
NominalSystems.Maths
Assembly
NominalSystems.Maths.dll

Class storing a series of constants and mathematical functions for basic maths and units.

public static class MathConstants
Inheritance
MathConstants

Fields

DEG2RAD

The Degrees to Radians conversion

public static double DEG2RAD

Field Value

double

RAD2DEG

The Radians to Degrees conversion

public static double RAD2DEG

Field Value

double

RPM

The Revolutions Per Minute to rad/s conversion

public static double RPM

Field Value

double

Methods

Deg2MRP(double)

Returns the MRP of a Degree

public static double Deg2MRP(double degrees)

Parameters

degrees double

A degree

Returns

double

An MRP

MRP2Deg(double)

Returns the Degrees of an MRP

public static double MRP2Deg(double mrp)

Parameters

mrp double

An MRP value

Returns

double

A degrees

MRP2Rad(double)

Returns the Radians of an MRP

public static double MRP2Rad(double mrp)

Parameters

mrp double

An MRP value

Returns

double

A radians

MRP2Vec(Vector3)

Converts an MRP vector into an radians vector

public static Vector3 MRP2Vec(Vector3 vector)

Parameters

vector Vector3

An MRP vector

Returns

Vector3

A radians Vector

Rad2MRP(double)

Returns the MRP of a Radian

public static double Rad2MRP(double radians)

Parameters

radians double

A radian

Returns

double

An MRP

Vec2MRP(Vector3)

Converts a radians vector into an MRP vector

public static Vector3 Vec2MRP(Vector3 vector)

Parameters

vector Vector3

A radians vector

Returns

Vector3

An MRP Vector