The XMath type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| DegreeToRadian | Overloaded. | |
| Distance | Overloaded. | |
| DistanceF | Overloaded. | |
| Epsilon |
Returns difference of the real number.
| |
| Epsilonf |
Returns difference of the real number.
| |
| Equals | Overloaded. | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. | |
| GetHashCode | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. | |
| GetType | Gets the Type of the current instance. | |
| Interpolate | Overloaded. | |
| InterpolateAngle | Overloaded. | |
| InterpolateAngleNormalized | Overloaded. | |
| MemberwiseClone | Creates a shallow copy of the current Object. | |
| NearestPower2 |
Returns the nearest higher power of 2.
| |
| NormalizeAngle | Overloaded. | |
| RadianToDegree | Overloaded. | |
| ToString | (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| D2R |
A constant for conversion degrees to radians (2PI/360).
| |
| D2Rf |
A constant Single for conversion degrees to radians (2PI/360).
| |
| EPSILON |
The smallest positive number, for which the
1.0+EPSILON != 1.0 is true (loss of precision has not occured).
| |
| EPSILONf |
The smallest positive Single number, for which the
1.0+EPSILON != 1.0 is true (loss of precision has not occured).
| |
| PI |
A constant PI.
| |
| PI2 |
A constant 2PI.
| |
| PI2f |
A constant Single 2PI.
| |
| PIf |
A constant SinglePI.
| |
| R2D |
A constant for conversion radians to degrees (360/2PI).
| |
| R2Df |
A constant Single for conversion radians to degrees (360/2PI).
| |
| SQRT2 |
A constant of root 2.
| |
| SQRT2f |
A constant Single of root 2.
|