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

#include <IntrSegment2Segment2.h>

Public Member Functions

 TIntrSegment2Segment2 (const TSegment2< RealType > &Segment1In, const TSegment2< RealType > &Segment2In)
 
const TSegment2< RealType > & GetSegment1 () const
 
void SetSegment1 (const TSegment2< RealType > &Value)
 
const TSegment2< RealType > & GetSegment2 () const
 
void SetSegment2 (const TSegment2< RealType > &Value)
 
RealType GetIntervalThreshold () const
 
void SetIntervalThreshold (RealType Value)
 
RealType GetDotThreshold () const
 
void SetDotThreshold (RealType Value)
 
bool IsSimpleIntersection () const
 
TIntrSegment2Segment2Compute ()
 
bool Find ()
 

Public Attributes

int Quantity = 0
 
EIntersectionResult Result = EIntersectionResult::NotComputed
 
EIntersectionType Type = EIntersectionType::Empty
 
TVector2< RealType > Point0
 
TVector2< RealType > Point1
 
RealType Parameter0
 
RealType Parameter1
 

Protected Member Functions

void SanityCheck ()
 

Protected Attributes

TSegment2< RealType > Segment1
 
TSegment2< RealType > Segment2
 
RealType IntervalThreshold = 0
 
RealType DotThreshold = TMathUtil<RealType>::ZeroTolerance
 

Detailed Description

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

Calculate intersection between two 2D line segments

Constructor & Destructor Documentation

◆ TIntrSegment2Segment2()

template<typename RealType >
UE::Geometry::TIntrSegment2Segment2< RealType >::TIntrSegment2Segment2 ( const TSegment2< RealType > &  Segment1In,
const TSegment2< RealType > &  Segment2In 
)
inline

Member Function Documentation

◆ Compute()

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

◆ Find()

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

◆ GetDotThreshold()

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

◆ GetIntervalThreshold()

template<typename RealType >
RealType UE::Geometry::TIntrSegment2Segment2< RealType >::GetIntervalThreshold ( ) const
inline

◆ GetSegment1()

template<typename RealType >
const TSegment2< RealType > & UE::Geometry::TIntrSegment2Segment2< RealType >::GetSegment1 ( ) const
inline

◆ GetSegment2()

template<typename RealType >
const TSegment2< RealType > & UE::Geometry::TIntrSegment2Segment2< RealType >::GetSegment2 ( ) const
inline

◆ IsSimpleIntersection()

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

◆ SanityCheck()

template<typename RealType >
void UE::Geometry::TIntrSegment2Segment2< RealType >::SanityCheck ( )
inlineprotected

◆ SetDotThreshold()

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

◆ SetIntervalThreshold()

template<typename RealType >
void UE::Geometry::TIntrSegment2Segment2< RealType >::SetIntervalThreshold ( RealType  Value)
inline

◆ SetSegment1()

template<typename RealType >
void UE::Geometry::TIntrSegment2Segment2< RealType >::SetSegment1 ( const TSegment2< RealType > &  Value)
inline

◆ SetSegment2()

template<typename RealType >
void UE::Geometry::TIntrSegment2Segment2< RealType >::SetSegment2 ( const TSegment2< RealType > &  Value)
inline

Member Data Documentation

◆ DotThreshold

template<typename RealType >
RealType UE::Geometry::TIntrSegment2Segment2< RealType >::DotThreshold = TMathUtil<RealType>::ZeroTolerance
protected

◆ IntervalThreshold

template<typename RealType >
RealType UE::Geometry::TIntrSegment2Segment2< RealType >::IntervalThreshold = 0
protected

◆ Parameter0

template<typename RealType >
RealType UE::Geometry::TIntrSegment2Segment2< RealType >::Parameter0

◆ Parameter1

template<typename RealType >
RealType UE::Geometry::TIntrSegment2Segment2< RealType >::Parameter1

◆ Point0

template<typename RealType >
TVector2<RealType> UE::Geometry::TIntrSegment2Segment2< RealType >::Point0

◆ Point1

template<typename RealType >
TVector2<RealType> UE::Geometry::TIntrSegment2Segment2< RealType >::Point1

◆ Quantity

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

◆ Result

◆ Segment1

template<typename RealType >
TSegment2<RealType> UE::Geometry::TIntrSegment2Segment2< RealType >::Segment1
protected

◆ Segment2

template<typename RealType >
TSegment2<RealType> UE::Geometry::TIntrSegment2Segment2< RealType >::Segment2
protected

◆ Type


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