Navigation
Unreal Engine C++ API Reference > Runtime > Chaos > Chaos
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
Type | Name | Description | |
---|---|---|---|
![]() |
TAABB () |
||
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
const TAABB< T, d > & | BoundingBox () |
|
![]() ![]() |
TVector< T, d > | Center () |
|
![]() ![]() |
T | CenterRadius () |
|
![]() ![]() |
TArray< TVector< T, d > > | Returns sample points centered about the origin. | |
![]() ![]() |
TArray< TVector< T, d > > | Returns sample points at the current location of the box. | |
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() ![]() |
TAABB< T, d > | EmptyAABB () |
A bounding box that will fail all overlap tests. |
![]() ![]() |
TVector< T, d > | Extents () |
|
![]() ![]() |
Pair< TVector< FReal, d >, bool > | ||
![]() ![]() |
TVector< T, d > | FindClosestPoint
(
const TVector< T, d >& StartPoint, |
|
![]() ![]() |
TVector< T, d > | FindGeometryOpposingNormal
(
const TVector< T, d >& DenormDir, |
|
![]() ![]() |
TAABB< T, d > | FromPoints
(
const TVector< T, d >& P0, |
Given a set of points, wrap an AABB around them |
![]() ![]() |
TAABB< T, d > | FullAABB () |
A bounding box that overlaps all space. |
![]() ![]() |
T | GetArea () |
|
![]() ![]() |
T | ||
![]() ![]() |
TVector< T, d > | GetCenter () |
|
![]() ![]() |
TVector< T, d > | ||
![]() ![]() |
PMatrix< FReal, 3, 3 > | GetInertiaTensor
(
const FReal Mass, |
|
![]() ![]() |
PMatrix< FReal, d, d > | GetInertiaTensor
(
const FReal Mass |
|
![]() ![]() |
TAABB< T, d > | GetIntersection
(
const TAABB< T, d >& Other |
|
![]() ![]() |
T | GetMargin () |
|
![]() ![]() |
uint16 | GetMaterialIndex
(
uint32 HintIndex |
|
![]() ![]() |
T | GetRadius () |
|
![]() ![]() |
TRotation< FReal, d > | ||
![]() ![]() |
uint32 | GetTypeHash () |
|
![]() ![]() |
T | GetVolume () |
|
![]() ![]() |
T | ||
![]() |
TAABB< T, d > & | GrowByVector
(
const TVector< T, d >& V |
Grow along a vector (as if swept by the vector's direction and magnitude) |
![]() |
void | GrowToInclude
(
const TVector< T, d >& V |
|
![]() |
void | GrowToInclude
(
const TAABB< T, d >& Other |
|
![]() ![]() |
bool | Intersects
(
const TAABB< TReal, d >& Other |
|
![]() ![]() |
TAABB< T, d > | InverseTransformedAABB
(
const Chaos::FRigidTransform3& |
|
![]() ![]() |
constexpr bool | IsConvex () |
|
![]() ![]() |
bool | IsEmpty () |
If this AABB empty (all overlap tests will fail) NOTE: This just checks if Min.X is Real::Max. |
![]() ![]() |
bool | IsFull () |
If this AABB covering all of space (all overlap tests will succeed) NOTE: This just checks if Max.X is Real::Max. |
![]() ![]() |
int | LargestAxis () |
|
![]() |
TAABB< T, d > & | LocalScale
(
const TVector< T, d >& InScale |
Scale the AABB relative to its center IMPORTANT : this does not support negative scale |
![]() ![]() |
const TVector< T, d > & | Max () |
|
![]() ![]() |
const TVector< T, d > & | Min () |
|
![]() ![]() |
T | OriginRadius () |
The radius of the sphere centered on the AABB origin (not the AABB center) which would encompass this AABB. |
![]() ![]() |
FReal | PhiWithNormal
(
const TVector< FReal, d >& X, |
|
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() |
TAABB< T, d > & | Scale the AABB relative to the origin IMPORTANT : this does not support negative scale | |
![]() |
TAABB< T, d > & | ScaleWithNegative
(
const TVector< T, d >& InScale |
|
![]() |
void | Serialize
(
FChaosArchive& Ar |
|
![]() |
void | ||
![]() |
TAABB< T, d > & | ShrinkSymmetrically
(
const TVector< T, d >& Thickness |
|
![]() |
void | ShrinkToInclude
(
const TAABB< T, d >& Other |
|
![]() ![]() |
FReal | SignedDistance
(
const TVector< FReal, d >& x |
|
![]() ![]() |
TVector< T, d > | ||
![]() ![]() |
FVec3 | SupportCore
(
const FVec3& Direction, |
Support vertex in the specified direction, assuming each face has been moved inwards by InMargin. |
![]() ![]() |
TVector< T, d > | SupportCoreScaled
(
const TVector< T, d >& Direction, |
|
![]() ![]() |
VectorRegister4Float | SupportCoreSimd
(
const VectorRegister4Float& Direction, |
|
![]() |
TAABB< T, d > & | Thicken
(
const T Thickness |
|
![]() |
TAABB< T, d > & | ThickenSymmetrically
(
const TVector< T, d >& Thickness |
Grows the box by this vector symmetrically - Changed name because previous Thicken had different semantics which caused several bugs. |
![]() ![]() |
FString | ToString () |
|
![]() ![]() |
TAABB< T, d > | TransformedAABB
(
const Chaos::TRigidTransform< FReal, 3 >& |
|
![]() ![]() |
TAABB< T, d > | TransformedAABB
(
const FMatrix& |
|
![]() ![]() |
TAABB< T, d > | TransformedAABB
(
const FTransform& |
|
![]() ![]() |
TAABB< T, d > | TransformedAABB
(
const Chaos::PMatrix< FReal, 4, 4 >& |
|
![]() ![]() |
TAABB< T, d > | ZeroAABB () |
A single-point bounds at the origin. |
Operators
Typedefs
Name | Description |
---|---|
TType |
Constants
Name | Description |
---|---|
D |