26template <
typename Real>
144 if (pos == 0 ||
neg == 0)
#define checkSlow(expr)
Definition AssertionMacros.h:332
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
EIntersectionResult
Definition VectorUtil.h:10
EIntersectionType
Definition VectorUtil.h:18
Definition MathUtil.h:150
Definition Intersector1.h:25
static void TriangleLineRelations(const TVector2< Real > &Origin, const TVector2< Real > &Direction, const TTriangle2< Real > &Tri, TVector< Real > &Dist, FVector3i &Sign, int &Positive, int &Negative, int &Zero, Real Tolerance=TMathUtil< Real >::ZeroTolerance)
Definition IntrLine2Triangle2.h:148
static bool GetInterval(const TVector2< Real > &Origin, const TVector2< Real > &Direction, const TTriangle2< Real > &Tri, const TVector< Real > &Dist, const FVector3i &Sign, TVector2< Real > ¶m)
Definition IntrLine2Triangle2.h:179
Definition IntrSegment2Triangle2.h:28
bool IsSimpleIntersection()
Definition IntrSegment2Triangle2.h:40
int Quantity
Definition IntrSegment2Triangle2.h:36
TSegment2< Real > Segment
Definition IntrSegment2Triangle2.h:31
bool Find(Real Tolerance=TMathUtil< Real >::ZeroTolerance)
Definition IntrSegment2Triangle2.h:84
void SetSegment(const TSegment2< Real > &SegmentIn)
Definition IntrSegment2Triangle2.h:59
TVector2< Real > Point1
Definition IntrSegment2Triangle2.h:47
TIntrSegment2Triangle2(TSegment2< Real > Seg, TTriangle2< Real > Tri)
Definition IntrSegment2Triangle2.h:72
TVector2< Real > Point0
Definition IntrSegment2Triangle2.h:46
EIntersectionResult Result
Definition IntrSegment2Triangle2.h:37
TSegment2< Real > GetSegment() const
Definition IntrSegment2Triangle2.h:51
TTriangle2< Real > Triangle
Definition IntrSegment2Triangle2.h:32
EIntersectionType Type
Definition IntrSegment2Triangle2.h:38
TTriangle2< Real > GetTriangle() const
Definition IntrSegment2Triangle2.h:55
double Param1
Definition IntrSegment2Triangle2.h:49
TIntrSegment2Triangle2 * Compute(Real Tolerance=TMathUtil< Real >::ZeroTolerance)
Definition IntrSegment2Triangle2.h:77
double Param0
Definition IntrSegment2Triangle2.h:48
TIntrSegment2Triangle2()
Definition IntrSegment2Triangle2.h:70
void SetTriangle(const TTriangle2< Real > &TriangleIn)
Definition IntrSegment2Triangle2.h:64
constexpr UE::Math::TVector2< T > PerpCW(const UE::Math::TVector2< T > &V)
Definition VectorTypes.h:26
T DistanceSquared(const UE::Math::TVector2< T > &V1, const UE::Math::TVector2< T > &V2)
Definition VectorTypes.h:82
TIntrSegment2Triangle2< float > FIntrSegment2Triangle2f
Definition IntrSegment2Triangle2.h:221
T Normalize(UE::Math::TVector2< T > &Vector, const T Epsilon=0)
Definition VectorTypes.h:46
TIntrSegment2Triangle2< double > FIntrSegment2Triangle2d
Definition IntrSegment2Triangle2.h:222
constexpr bool IsNormalized(const UE::Math::TVector2< T > &Vector, const T Tolerance=TMathUtil< T >::ZeroTolerance)
Definition VectorTypes.h:40
Definition AdvancedWidgetsModule.cpp:13
Definition IntVectorTypes.h:252
Definition SegmentTypes.h:23
T Extent
Definition SegmentTypes.h:30
TVector2< T > Direction
Definition SegmentTypes.h:28
TVector2< T > Center
Definition SegmentTypes.h:26
Definition TriangleTypes.h:39
TVector2< RealType > V[3]
Definition TriangleTypes.h:40
T Dot(const TVector2< T > &V2) const
Definition Vector2D.h:1123