Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/TOrientedBox3
Description
Create a merged TOrientedBox, encompassing this box and one other. Uses heuristics to test a few possible orientations and pick the smallest-volume result. Not an optimal fit.
| Name | Merge |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/OrientedBoxTypes.h |
| Include Path | #include "OrientedBoxTypes.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/OrientedBoxTypes.cpp |
TOrientedBox3 < RealType > Merge
(
const TOrientedBox3 < RealType > & Other,
bool bOnlyConsiderExistingAxes
) const
Parameters
| Name | Remarks |
|---|---|
| Other | The box to merge with |
| bOnlyConsiderExistingAxes | If true, the merged box will always use the Rotation of one of the input boxes |