This repository was archived by the owner on Dec 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
VRageMath.MathHelperD
Malware edited this page Dec 25, 2018
·
41 revisions
← Index
private public abstract sealed MathHelperD
```csharp
**Namespace:** [VRageMath](VRageMath)
**Assembly:** VRage.Math.dll
### Example
### Remarks
###### Fields
|Member|Description|
|---|---|
|[E](VRageMath.MathHelperD.E)|Represents the mathematical constant e.|
|[Pi](VRageMath.MathHelperD.Pi)|Represents the value of pi.|
|[TwoPi](VRageMath.MathHelperD.TwoPi)|Represents the value of pi times two.|
|[FourPi](VRageMath.MathHelperD.FourPi)|Represents the value of pi times four.|
|[PiOver2](VRageMath.MathHelperD.PiOver2)|Represents the value of pi divided by two.|
|[PiOver4](VRageMath.MathHelperD.PiOver4)|Represents the value of pi divided by four.|
###### Methods
|Member|Description|
|---|---|
|[ToRadians(double)](VRageMath.MathHelperD.ToRadians)|Converts degrees to radians.|
|[ToDegrees(double)](VRageMath.MathHelperD.ToDegrees)|Converts radians to degrees.|
|[Distance(double, double)](VRageMath.MathHelperD.Distance)|Calculates the absolute value of the difference of two values.|
|[Min(double, double)](VRageMath.MathHelperD.Min)|Returns the lesser of two values.|
|[Max(double, double)](VRageMath.MathHelperD.Max)|Returns the greater of two values.|
|[Clamp(double, double, double)](VRageMath.MathHelperD.Clamp)|Restricts a value to be within a specified range. Reference page contains links to related code samples.|
|[MonotonicAcos(float)](VRageMath.MathHelperD.MonotonicAcos)||Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!