TAABB

Windows
MacOS
Linux

References

Module

Chaos

Header

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

Include

#include "Chaos/AABB.h"

Syntax

template<class T, int d>
class TAABB

Constructors

Name Description

Public function

TAABB()

Public function

TAABB

(
    const TAABB < T, d >& Other
)

Public function

TAABB

(
    TAABB < T, d >&& Other
)

Public function

TAABB

(
    const TVector < T, d >& Min,
    const TVector < T, d >& Max
)

Functions

Name Description

Public function Const

const TAABB <...

 

BoundingBox()

Public function Const

TVector < T, ...

 

Center()

Public function Const

TArray < TVec ...

 

ComputeLocalSamplePoints()

Returns sample points centered about the origin.

Public function Const

TArray < TVec ...

 

ComputeSamplePoints()

Returns sample points at the current location of the box.

Public function Const

bool

 

Contains

(
    const TVector < T, d >& Point,
    const T Tolerance
)

Public function Const

bool

 

Contains

(
    const TVector < T, d >& Point
)

Public function Static

TAABB < T, d ...

 

EmptyAABB()

Public function Const

TVector < T, ...

 

Extents()

Public function Const

Pair < TVecto ...

 

FindClosestIntersectionImp

(
    const TVector < T, d >& StartPoint,
    const TVector < T, d >& EndPoint,
    const T Thickness
)

Public function Const

TVector < T, ...

 

FindClosestPoint

(
    const TVector < T, d >& StartPoint,
    const T Thickness
)

Public function Const

TVector < T, ...

 

FindGeometryOpposingNormal

(
    const TVector < T, d >& DenormDir,
    int32 FaceIndex,
    const TVector < T, d >& OriginalNor...
)

Public function Static

TAABB < T, d ...

 

FullAABB()

Public function Const

T

 

GetArea()

Public function Static

T

 

GetArea

(
    const TVector < T, d >& Dim
)

Public function Const

TVector < T, ...

 

GetCenter()

Public function Const

TVector < T, ...

 

GetCenterOfMass()

Public function Const

PMatrix < T, ...

 

GetInertiaTensor

(
    const T Mass
)

Public function Static

PMatrix < T, ...

 

GetInertiaTensor

(
    const T Mass,
    const TVector < T, 3 >& Dim
)

Public function Const

TAABB < T, d ...

 

GetIntersection

(
    const TAABB < T, d >& Other
)

Public function Const

T

 

GetMargin()

Public function Const

uint16

 

GetMaterialIndex

(
    uint32 HintIndex
)

Public function Static

TRotation < T...

 

GetRotationOfMass()

Public function Const

uint32

 

GetTypeHash()

Public function Const

T

 

GetVolume()

Public function Static

T

 

GetVolume

(
    const TVector < T, 3 >& Dim
)

Public function

void

 

GrowByVector

(
    const TVector < T, d >& V
)

Grow along a vector (as if swept by the vector's direction and magnitude)

Public function

void

 

GrowToInclude

(
    const TVector < T, d >& V
)

Public function

void

 

GrowToInclude

(
    const TAABB < T, d >& Other
)

Public function Const

bool

 

Intersects

(
    const TAABB < T, d >& Other
)

Public function Const

constexpr bo ...

 

IsConvex()

Public function Const

int

 

LargestAxis()

Public function Const

const TVecto ...

 

Max()

Public function Const

const TVecto ...

 

Min()

Public function Const

T

 

PhiWithNormal

(
    const TVector < T, d >& x,
    TVector < T, d >& Normal
)

Public function Const

bool

 

Raycast

(
    const TVector < T, d >& StartPoint,
    const TVector < T, d >& Dir,
    const T Length,
    const T Thickness,
    T& OutTime,
    TVector < T, d >& OutPosition,
    TVector < T, d >& OutNormal,
    int32 & OutFaceIndex
)

Public function Const

bool

 

RaycastFast

(
    const TVector < T, d >& StartPoint,
    const TVector < T, d >& Dir,
    const TVector < T, d >& InvDir,
    const bool * bParallel,
    const T Length,
    const T InvLength,
    T& OutTime,
    TVector < T, d >& OutPosition
)

Public function

void

 

Scale

(
    const TVector < T, d >& InScale
)

Public function

void

 

Serialize

(
    FArchive & Ar
)

Public function

void

 

ShrinkToInclude

(
    const TAABB < T, d >& Other
)

Public function Const

T

 

SignedDistance

(
    const TVector < T, d >& x
)

Public function Const

TVector < T, ...

 

Support

(
    const TVector < T, d >& Direction,
    const T Thickness
)

Public function Const

TVector < T, ...

 

Support2

(
    const TVector < T, d >& Direction
)

Public function

void

 

Thicken

(
    const float Thickness
)

Public function

void

 

ThickenSymmetrically

(
    const TVector < T, d >& Thickness
)

Grows (or shrinks) the box by this vector symmetrically - Changed name because previous Thicken had different semantics which caused several bugs.

Public function Const

TAABB < T, d ...

 

TransformedAABB

(
    const FMatrix &
)

Public function Const

TAABB < T, d ...

 

TransformedAABB

(
    const FTransform &
)

Public function Const

TAABB < T, d ...

 

TransformedAABB

(
    const Chaos::TRigidTransform < FReal ...
)

Public function Const

TAABB < T, d ...

 

TransformedAABB

(
    const Chaos::PMatrix < FReal , 4, 4 >...
)

Public function Static

TAABB < T, d ...

 

ZeroAABB()

Operators

Name Description

Public function

TAABB < T, d ...

 

operator=

(
    TAABB < T, d >&& Other
)

Public function

TAABB < T, d ...

 

operator=

(
    const TAABB < T, d >& Other
)

Typedefs

Name

Description

TType

Constants

Name

Description

D

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback