Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
Description
Find the intersection of two floating point intervals in which the interval inputs contain pairs of floats sorted in increasing order. Returns the number of intersections intersection and intersection results in increasing order.
| Name | GizmoMath::IntervalIntervalIntersection |
| Type | function |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoMath.h |
| Include Path | #include "BaseGizmos/GizmoMath.h" |
| Source | /Engine/Source/Runtime/InteractiveToolsFramework/Private/BaseGizmos/GizmoMath.cpp |
namespace GizmoMath
{
template<typename RealType>
void GizmoMath::IntervalIntervalIntersection
(
const RealType Interval0,
const RealType Interval1,
int & OutNumIntersections,
RealType & OutResult0,
RealType & OutResult1
)
}