TMathUtil

Windows
MacOS
Linux

Inheritance Hierarchy

TMathUtilConstants

TMathUtil

References

Module

GeometricObjects

Header

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

Include

#include "MathUtil.h"

Syntax

template<typename RealType>
class TMathUtil : public TMathUtilConstants< RealType >

Constructors

No constructors are accessible with public or protected access.

Functions

Name Description

Public function Static

RealType

 

Abs

(
    const RealType Value
)

Public function Static

RealType

 

ACos

(
    const RealType Value
)

Public function Static

RealType

 

Atan2

(
    const RealType ValueY,
    const RealType ValueX
)

Public function Static

RealType

 

Atan2Positive

(
    const RealType Y,
    const RealType X
)

Public function Static

RealType

 

Ceil

(
    const RealType Value
)

Public function Static

RealType

 

Clamp

(
    const RealType Value,
    const RealType ClampMin,
    const RealType ClampMax
)

Public function Static

RealType

 

Cos

(
    const RealType Value
)

Public function Static

RealType

 

Exp

(
    const RealType Power
)

Public function Static

RealType

 

Floor

(
    const RealType Value
)

Public function Static

bool

 

IsFinite

(
    const RealType Value
)

Public function Static

bool

 

IsNaN

(
    const RealType Value
)

Public function Static

RealType

 

Lerp

(
    const RealType A,
    const RealType B,
    RealType Alpha
)

Public function Static

RealType

 

Log

(
    const RealType Value
)

Public function Static

RealType

 

Max

(
    const RealType A,
    const RealType B
)

Public function Static

RealType

 

Max3

(
    const RealType A,
    const RealType B,
    const RealType C
)

Public function Static

int32

 

Max3Index

(
    const RealType A,
    const RealType B,
    const RealType C
)

Public function Static

RealType

 

Min

(
    const RealType A,
    const RealType B
)

Public function Static

RealType

 

Min3

(
    const RealType A,
    const RealType B,
    const RealType C
)

Public function Static

int32

 

Min3Index

(
    const RealType A,
    const RealType B,
    const RealType C
)

Public function Static

void

 

MinMax

(
    RealType A,
    RealType B,
    RealType C,
    RealType& MinOut,
    RealType& MaxOut
)

Compute min and max of a,b,c with max 3 comparisons (sometimes 2)

Public function Static

RealType

 

Pow

(
    const RealType Value,
    const RealType Power
)

Public function Static

RealType

 

Round

(
    const RealType Value
)

Public function Static

RealType

 

Sign

(
    const RealType Value
)

Public function Static

RealType

 

SignNonZero

(
    const RealType Value
)

Public function Static

RealType

 

Sin

(
    const RealType Value
)

Public function Static

RealType

 

Sqrt

(
    const RealType Value
)

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