Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

VRageMath.MathHelperD

Morten Aune Lyrstad edited this page Apr 16, 2022 · 40 revisions

IndexNamespace Index

MathHelperD Class

public abstract sealed class MathHelperD

Contains commonly used precalculated values.

Namespace: VRageMath
Assembly: VRage.Math.dll

Fields

Member Description
\%1static double E](VRageMath.MathHelperD.E) Represents the mathematical constant e.
\%1static double FourPi](VRageMath.MathHelperD.FourPi) Represents the value of pi times four.
\%1static double Pi](VRageMath.MathHelperD.Pi) Represents the value of pi.
\%1static double PiOver2](VRageMath.MathHelperD.PiOver2) Represents the value of pi divided by two.
\%1static double PiOver4](VRageMath.MathHelperD.PiOver4) Represents the value of pi divided by four.
\%1static double TwoPi](VRageMath.MathHelperD.TwoPi) Represents the value of pi times two.

Methods

Member Description
\%1static double Clamp(double, double, double)](VRageMath.MathHelperD.Clamp) Restricts a value to be within a specified range. Reference page contains links to related code samples.
\%1static double Distance(double, double)](VRageMath.MathHelperD.Distance) Calculates the absolute value of the difference of two values.
\%1static double Max(double, double)](VRageMath.MathHelperD.Max) Returns the greater of two values.
\%1static double Min(double, double)](VRageMath.MathHelperD.Min) Returns the lesser of two values.
\%1static float MonotonicAcos(float)](VRageMath.MathHelperD.MonotonicAcos)
\%1static double ToDegrees(double)](VRageMath.MathHelperD.ToDegrees) Converts radians to degrees.
\%1static double ToRadians(double)](VRageMath.MathHelperD.ToRadians) Converts degrees to radians.
Clone this wiki locally