Navigation
API > API/Runtime > API/Runtime/ChaosCore
| Name | TAABB |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/ChaosCore/Public/Chaos/AABB.h |
| Include Path | #include "Chaos/AABB.h" |
| Source | /Engine/Source/Runtime/Experimental/ChaosCore/Public/Chaos/Core.h |
Syntax
template<class T, int d>
class TAABB
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Chaos/AABB.h | |||
| Chaos/AABB.h | |||
TAABB () |
Chaos/AABB.h | ||
| Chaos/AABB.h | |||
| Chaos/AABB.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TType | T | Chaos/AABB.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| D | int | Chaos/AABB.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MMax | TVector< T, d > | Chaos/AABB.h | ||
| MMin | TVector< T, d > | Chaos/AABB.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const TAABB< T, d > & BoundingBox() |
Chaos/AABB.h | ||
TVector< T, d > Center() |
Chaos/AABB.h | ||
T CenterRadius() |
Chaos/AABB.h | ||
void Clear() |
Shrink this AABB to being empty. | Chaos/AABB.h | |
| Returns sample points centered about the origin. | Chaos/AABB.h | ||
| Returns sample points at the current location of the box. | Chaos/AABB.h | ||
| Chaos/AABB.h | |||
| Chaos/AABB.h | |||
| Chaos/AABB.h | |||
TVector< T, d > Extents() |
Chaos/AABB.h | ||
| Chaos/AABB.h | |||
| Chaos/AABB.h | |||
| Chaos/AABB.h | |||
T GetArea () |
Chaos/AABB.h | ||
TVector< T, d > GetCenter() |
Chaos/AABB.h | ||
TVector< T, d > GetCenterOfMass() |
Chaos/AABB.h | ||
| Get an array of two indices into the vertex list for one of the twelve edges of the box. | Chaos/AABB.h | ||
FAABBFace GetFace
(
const int32 Index |
Chaos/AABB.h | ||
int32 GetIndex
(
const FIntVector& AxisSelector |
Given a point on a unit cube expressed as an IntVector of 0s and 1s, get the vertex index of that point. | Chaos/AABB.h | |
PMatrix< FReal, d, d > GetInertiaTensor
(
const FReal Mass |
Chaos/AABB.h | ||
| Chaos/AABB.h | |||
T GetMargin() |
Chaos/AABB.h | ||
FRealSingle GetMarginf() |
Chaos/AABB.h | ||
uint16 GetMaterialIndex
(
uint32 HintIndex |
Chaos/AABB.h | ||
T GetRadius() |
Chaos/AABB.h | ||
FRealSingle GetRadiusf() |
Chaos/AABB.h | ||
uint32 GetTypeHash() |
Chaos/AABB.h | ||
| Get a vector one of the eight corners of the box. | Chaos/AABB.h | ||
T GetVolume () |
Chaos/AABB.h | ||
| Grow along a vector (as if swept by the vector's direction and magnitude) | Chaos/AABB.h | ||
void GrowToInclude
(
const TVector< T, d >& V |
Chaos/AABB.h | ||
void GrowToInclude
(
const TAABB< T, d >& Other |
Chaos/AABB.h | ||
bool Intersects
(
const TAABB< TReal, d >& Other |
Chaos/AABB.h | ||
TAABB< T, d > InverseTransformedAABB
(
const Chaos::FRigidTransform3& |
Chaos/AABB.h | ||
bool IsConvex() |
Chaos/AABB.h | ||
bool IsEmpty () |
If this AABB empty (all overlap tests will fail) NOTE: This just checks if Min.X is Real::Max. | Chaos/AABB.h | |
bool IsFull () |
If this AABB covering all of space (all overlap tests will succeed) NOTE: This just checks if Max.X is Real::Max. | Chaos/AABB.h | |
int LargestAxis() |
Chaos/AABB.h | ||
| Scale the AABB relative to its center IMPORTANT : this does not support negative scale | Chaos/AABB.h | ||
const TVector< T, d > & Max() |
Chaos/AABB.h | ||
const TVector< T, d > & Min() |
Chaos/AABB.h | ||
void MoveByVector
(
TVector< T, d > InVector |
Move the bounding box along a vector. | Chaos/AABB.h | |
T OriginRadius() |
The radius of the sphere centered on the AABB origin (not the AABB center) which would encompass this AABB. | Chaos/AABB.h | |
| Chaos/AABB.h | |||
| Chaos/AABB.h | |||
bool RaycastFast
(
const TVector< FReal, d >& StartPoint, |
Chaos/AABB.h | ||
bool RaycastFast
(
const TVector< FReal, d >& StartPoint, |
Chaos/AABB.h | ||
bool RaycastFast
(
const TVector< FReal, d >& StartPoint, |
Chaos/AABB.h | ||
bool RaycastFast
(
const TVector< FReal, d >& StartPoint, |
Chaos/AABB.h | ||
| Scale the AABB relative to the origin IMPORTANT : this does not support negative scale | Chaos/AABB.h | ||
| Chaos/AABB.h | |||
void Serialize
(
FArchive& Ar |
Chaos/AABB.h | ||
| Chaos/AABB.h | |||
void ShrinkToInclude
(
const TAABB< T, d >& Other |
Chaos/AABB.h | ||
FReal SignedDistance
(
const TVector< FReal, d >& x |
Chaos/AABB.h | ||
| Chaos/AABB.h | |||
FVec3 SupportCore
(
const FVec3& Direction, |
Support vertex in the specified direction, assuming each face has been moved inwards by InMargin. | Chaos/AABB.h | |
| Chaos/AABB.h | |||
VectorRegister4Float SupportCoreSimd
(
const VectorRegister4Float& Direction, |
Chaos/AABB.h | ||
TAABB< T, d > & Thicken
(
const T Thickness |
Chaos/AABB.h | ||
| Grows the box by this vector symmetrically - Changed name because previous Thicken had different semantics which caused several bugs. | Chaos/AABB.h | ||
FString ToString() |
Chaos/AABB.h | ||
TAABB< T, d > TransformedAABB
(
const FMatrix& |
Chaos/AABB.h | ||
TAABB< T, d > TransformedAABB
(
const Chaos::TRigidTransform< FReal, 3 >& |
Chaos/AABB.h | ||
TAABB< T, d > TransformedAABB
(
const Chaos::PMatrix< FReal, 4, 4 >& |
Chaos/AABB.h | ||
TAABB< T, d > TransformedAABB
(
const FTransform& |
Chaos/AABB.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| A bounding box that will fail all overlap tests. | Chaos/AABB.h | ||
| Given a set of points, wrap an AABB around them | Chaos/AABB.h | ||
| A bounding box that overlaps all space. | Chaos/AABB.h | ||
| Chaos/AABB.h | |||
static PMatrix< FReal, 3, 3 > GetInertiaTensor
(
const FReal Mass, |
Chaos/AABB.h | ||
static TRotation< FReal, d > GetRotationOfMass() |
Chaos/AABB.h | ||
| Chaos/AABB.h | |||
static TAABB< T, d > ZeroAABB() |
A single-point bounds at the origin. | Chaos/AABB.h |