TPlaneConcrete

Choose your operating system:

Windows

macOS

Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Plane.h

Include

#include "Chaos/Plane.h"

Syntax

template<typename T, int d>
class TPlaneConcrete

Constructors

Name Description

Public function

TPlaneConcrete()

Public function

TPlaneConcrete

(
    const TVec3< T >& InX,
    const TVec3< T >& InNormal
)

Functions

Name Description

Public function Const

Pair< FVec3,...

 

FindClosestIntersection

(
    const FVec3& StartPoint,
    const FVec3& EndPoint,
    const FReal Thickness
)

Public function Const

FVec3

 

FindClosestPoint

(
    const FVec3& x,
    const FReal Thickness
)

Public function Const

uint32

 

GetTypeHash()

Public function Static

TPlaneConcre...

 

MakeFrom

(
    const TPlaneConcrete< U >& Plane
)

Public function Static

TPlaneConcre...

 

MakeScaledSafe

(
    const TPlaneConcrete< T >& Plane,
    const TVec3< T >& Scale
)

Scale the plane and assume that any of the scale components could be zero.

Public function Static

TPlaneConcre...

 

MakeScaledUnsafe

(
    const TPlaneConcrete< U >& Plane,
    const TVec3< T >& Scale
)

Scale the plane and assume that none of the scale components are zero.

Public function Const

const TVec3<...

 

Normal()

Public function Const

const TVec3<...

 

Normal

(
    const TVec3< T >&
)

Public function Const

FReal

 

PhiWithNormal

(
    const FVec3& x,
    FVec3& Normal
)

Phi is positive on the side of the normal, and negative otherwise.

Public function Const

bool

 

Raycast

(
    const FVec3& StartPoint,
    const FVec3& Dir,
    const FReal Length,
    const FReal Thickness,
    FReal& OutTime,
    FVec3& OutPosition,
    FVec3& OutNormal,
    int32& OutFaceIndex
)

Public function

void

 

Serialize

(
    FArchive& Ar
)

Public function Const

U

 

SignedDistance

(
    const TVec3< U >& x
)

Phi is positive on the side of the normal, and negative otherwise.

Public function Const

const TVec3<...

 

X()