Navigation
API > API/Runtime > API/Runtime/GeometryCore
| Name | TMathUtilConstants< double > |
| Type | struct |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/MathUtil.h |
| Include Path | #include "MathUtil.h" |
Syntax
template<>
struct TMathUtilConstants< double >
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DegToRad | double | Pi / 180 | MathUtil.h |
| Epsilon | double | Machine Epsilon - float approx 1e-7, double approx 2e-16 | MathUtil.h |
| FourPi | double | MathUtil.h | |
| HalfPi | double | MathUtil.h | |
| InvPi | double | 1.0 / Pi | MathUtil.h |
| InvSqrt2 | double | MathUtil.h | |
| InvSqrt3 | double | MathUtil.h | |
| InvTwoPi | double | 1.0 / (2*Pi) | MathUtil.h |
| MaxReal | double | Largest possible number for type | MathUtil.h |
| Pi | double | 3.14159... | MathUtil.h |
| RadToDeg | double | 180 / pi | MathUtil.h |
| SafeLargeValue | double | A very large value, but not too close to the max possible for the type | MathUtil.h |
| Sqrt2 | double | Static constexpr double LN_2; static constexpr double LN_10; static constexpr double INV_LN_2; static constexpr double INV_LN_10; | MathUtil.h |
| Sqrt3 | double | MathUtil.h | |
| TwoPi | double | MathUtil.h | |
| ZeroTolerance | double | Zero tolerance for math operations (eg like parallel tests) - float 1e-6, double 1e-8 | MathUtil.h |