Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/OrientedBoxTypes.h |
Include |
#include "OrientedBoxTypes.h" |
template<typename RealType>
struct TOrientedBox3
TOrientedBox3 is a non-axis-aligned 3D box defined by a 3D frame and extents along the axes of that frame The frame is at the center of the box.
Name | Description | |
---|---|---|
|
TOrientedBox3() |
|
|
TOrientedBox3 ( |
Create oriented box from axis-aligned box |
|
TOrientedBox3 |
Create axis-aligned box with given Origin and Extents |
|
TOrientedBox3 |
Create oriented box with given Frame and Extents |
Name | Description | ||
---|---|---|---|
|
FVector3< Re... |
AxisX() |
|
|
FVector3< Re... |
AxisY() |
|
|
FVector3< Re... |
AxisZ() |
|
|
FVector3< Re... |
Center() |
|
|
FVector3< Re... |
ClosestPoint ( |
Find closest point on box |
|
Contains ( |
||
|
FVector3< Re... |
Diagonal() |
|
|
RealType |
DistanceSquared ( |
Find squared distance to box. |
|
EnumerateCorners ( |
Call CornerPointFunc(FVector3) for each of the 8 box corners. |
|
|
FVector3< Re... |
GetAxis ( |
|
|
FVector3< Re... |
GetCorner ( |
Corners [ (-x,-y), (x,-y), (x,y), (-x,y) ], -z, then +z |
|
GetCornerSide ( |
Get whether the corner at Index (see diagram in GetCorner documentation comment) is in the negative or positive direction for each axis |
|
|
RealType |
MaxExtent() |
|
|
RealType |
MinExtent() |
|
|
TestCorners ( |
Call CornerPointPredicate(FVector3) for each of the 8 box corners, with early-out if any call returns false |
|
|
TOrientedBox... |
UnitPositive() |
|
|
TOrientedBox... |
UnitZeroCentered() |
|
|
RealType |
Volume() |