Choose your operating system:
Windows
macOS
Linux
Module 

Header 
/Engine/Source/Runtime/Core/Public/Math/Range.h 
Include 
#include "Math/Range.h" 
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.
Parameter 
Description 

X 
The first range. 
Y 
The second range. 