Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TRange
Description
Return the union of two contiguous ranges.
A union is a range or series of ranges that contains both ranges.
| Name | Union |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Range.h |
| Include Path | #include "Math/Range.h" |
static TArray < TRange > Union
(
const TRange & X,
const TRange & Y
)
The union, or both ranges if the two ranges are not contiguous, or no ranges if both ranges are empty.
Parameters
| Name | Remarks |
|---|---|
| X | The first range. |
| Y | The second range. |
See Also
-
Hull
-
Intersection