Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/TRange > API/Runtime/Core/Math/TRange/Intersection
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Math/Range.h |
Include | #include "Math/Range.h" |
static TRange Intersection
&40;
const TRange & X,
const TRange & Y
&41;
Remarks
Compute the intersection of two ranges.
The intersection of two ranges is the largest range that is contained by both ranges. The intersection, or an empty range if the ranges do not overlap.
Parameters
Name | Description |
---|---|
X | The first range. |
Y | The second range. |