TMathUtilConstants< float >

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/MathUtil.h

Include

#include "MathUtil.h"

Syntax

template<>
struct TMathUtilConstants< float >

Constants

Name

Description

DegToRad

Pi / 180

Epsilon

Machine Epsilon - float approx 1e-7, double approx 2e-16

FourPi

HalfPi

InvPi

1.0 / Pi

InvSqrt2

InvSqrt3

InvTwoPi

1.0 / (2*Pi)

MaxReal

Largest possible number for type

Pi

3.14159...

RadToDeg

180 / pi

Sqrt2

Static constexpr float LN_2; static constexpr float LN_10; static constexpr float INV_LN_2; static constexpr float INV_LN_10;

Sqrt3

TwoPi

ZeroTolerance

Zero tolerance for math operations (eg like parallel tests) - float 1e-6, double 1e-8

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss