23template<
typename RealType>
60 return U.Min <=
V.Max &&
U.Max >=
V.Min;
68 return i == 0 ? Intersections.
Min : Intersections.
Max;
77 if ((
U.Max <
V.Min) || (
U.Min >
V.Max))
81 else if (
U.Max >
V.Min)
86 Intersections.
Min = (
U.Min <
V.Min ?
V.Min :
U.Min);
87 Intersections.
Max = (
U.Max >
V.Max ?
V.Max :
U.Max);
88 if (Intersections.
Min == Intersections.
Max)
97 Intersections.
Min =
U.Min;
104 Intersections.
Min =
U.Max;
#define check(expr)
Definition AssertionMacros.h:314
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition Intersector1.h:25
TIntersector1(const TInterval1< RealType > &u, const TInterval1< RealType > &v)
Definition Intersector1.h:50
TInterval1< RealType > U
Definition Intersector1.h:32
bool Find()
Definition Intersector1.h:75
TInterval1< RealType > V
Definition Intersector1.h:34
bool Test() const
Definition Intersector1.h:58
TIntersector1(RealType u0, RealType u1, RealType v0, RealType v1)
Definition Intersector1.h:44
int NumIntersections
Definition Intersector1.h:42
RealType GetIntersection(int i)
Definition Intersector1.h:66
TIntersector1< double > FIntersector1d
Definition Intersector1.h:112
TIntersector1< float > FIntersector1f
Definition Intersector1.h:113
Definition AdvancedWidgetsModule.cpp:13
float v
Definition radaudio_mdct.cpp:62
RealType Min
Definition BoxTypes.h:20
RealType Max
Definition BoxTypes.h:21