UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Geometry::TIntrLine2Line2< RealType > Class Template Reference

#include <IntrLine2Line2.h>

Public Member Functions

 TIntrLine2Line2 (const TLine2< RealType > &Line1In, const TLine2< RealType > &Line2In)
 
const TLine2< RealType > & GetLine1 () const
 
void SetLine1 (const TLine2< RealType > &Value)
 
const TLine2< RealType > & GetLine2 () const
 
void SetLine2 (TLine2< RealType > &Value)
 
RealType GetDotThreshold () const
 
RealType GetDistThreshold () const
 
void SetDotThreshold (RealType Value)
 
void SetDistThreshold (RealType Value)
 
bool IsSimpleIntersection () const
 
TIntrLine2Line2Compute ()
 
bool Find ()
 

Static Public Member Functions

static EIntersectionType Classify (const TVector2< RealType > &P0, const TVector2< RealType > &D0, const TVector2< RealType > &P1, const TVector2< RealType > &D1, RealType DotThreshold, RealType DistThreshold, TVector2< RealType > &s)
 

Public Attributes

TVector2< RealType > Point
 
RealType Segment1Parameter
 
RealType Segment2Parameter
 
int Quantity = 0
 
EIntersectionResult Result = EIntersectionResult::NotComputed
 
EIntersectionType Type = EIntersectionType::Empty
 

Protected Attributes

TLine2< RealType > Line1
 
TLine2< RealType > Line2
 
RealType dotThresh = TMathUtil<RealType>::ZeroTolerance
 
RealType DistThresh = TMathUtil<RealType>::ZeroTolerance
 

Detailed Description

template<typename RealType>
class UE::Geometry::TIntrLine2Line2< RealType >

Compute intersection between two 2D lines

Constructor & Destructor Documentation

◆ TIntrLine2Line2()

template<typename RealType >
UE::Geometry::TIntrLine2Line2< RealType >::TIntrLine2Line2 ( const TLine2< RealType > &  Line1In,
const TLine2< RealType > &  Line2In 
)
inline

Member Function Documentation

◆ Classify()

template<typename RealType >
static EIntersectionType UE::Geometry::TIntrLine2Line2< RealType >::Classify ( const TVector2< RealType > &  P0,
const TVector2< RealType > &  D0,
const TVector2< RealType > &  P1,
const TVector2< RealType > &  D1,
RealType  DotThreshold,
RealType  DistThreshold,
TVector2< RealType > &  s 
)
inlinestatic

◆ Compute()

template<typename RealType >
TIntrLine2Line2 & UE::Geometry::TIntrLine2Line2< RealType >::Compute ( )
inline

◆ Find()

template<typename RealType >
bool UE::Geometry::TIntrLine2Line2< RealType >::Find ( )
inline

◆ GetDistThreshold()

template<typename RealType >
RealType UE::Geometry::TIntrLine2Line2< RealType >::GetDistThreshold ( ) const
inline

◆ GetDotThreshold()

template<typename RealType >
RealType UE::Geometry::TIntrLine2Line2< RealType >::GetDotThreshold ( ) const
inline

◆ GetLine1()

template<typename RealType >
const TLine2< RealType > & UE::Geometry::TIntrLine2Line2< RealType >::GetLine1 ( ) const
inline

◆ GetLine2()

template<typename RealType >
const TLine2< RealType > & UE::Geometry::TIntrLine2Line2< RealType >::GetLine2 ( ) const
inline

◆ IsSimpleIntersection()

template<typename RealType >
bool UE::Geometry::TIntrLine2Line2< RealType >::IsSimpleIntersection ( ) const
inline

◆ SetDistThreshold()

template<typename RealType >
void UE::Geometry::TIntrLine2Line2< RealType >::SetDistThreshold ( RealType  Value)
inline

◆ SetDotThreshold()

template<typename RealType >
void UE::Geometry::TIntrLine2Line2< RealType >::SetDotThreshold ( RealType  Value)
inline

◆ SetLine1()

template<typename RealType >
void UE::Geometry::TIntrLine2Line2< RealType >::SetLine1 ( const TLine2< RealType > &  Value)
inline

◆ SetLine2()

template<typename RealType >
void UE::Geometry::TIntrLine2Line2< RealType >::SetLine2 ( TLine2< RealType > &  Value)
inline

Member Data Documentation

◆ DistThresh

template<typename RealType >
RealType UE::Geometry::TIntrLine2Line2< RealType >::DistThresh = TMathUtil<RealType>::ZeroTolerance
protected

◆ dotThresh

template<typename RealType >
RealType UE::Geometry::TIntrLine2Line2< RealType >::dotThresh = TMathUtil<RealType>::ZeroTolerance
protected

◆ Line1

template<typename RealType >
TLine2<RealType> UE::Geometry::TIntrLine2Line2< RealType >::Line1
protected

◆ Line2

template<typename RealType >
TLine2<RealType> UE::Geometry::TIntrLine2Line2< RealType >::Line2
protected

◆ Point

template<typename RealType >
TVector2<RealType> UE::Geometry::TIntrLine2Line2< RealType >::Point

◆ Quantity

template<typename RealType >
int UE::Geometry::TIntrLine2Line2< RealType >::Quantity = 0

◆ Result

◆ Segment1Parameter

template<typename RealType >
RealType UE::Geometry::TIntrLine2Line2< RealType >::Segment1Parameter

◆ Segment2Parameter

template<typename RealType >
RealType UE::Geometry::TIntrLine2Line2< RealType >::Segment2Parameter

◆ Type


The documentation for this class was generated from the following file: