UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::CADKernel::TIntersectionSegmentTool< SegmentType > Class Template Reference

#include <IntersectionSegmentTool.h>

Public Member Functions

 TIntersectionSegmentTool (const FGrid &InGrid, const double InTolerance)
 
virtual ~TIntersectionSegmentTool ()=default
 
void Empty (int32 InMaxNum)
 
void Reserve (int32 InMaxNum)
 
void RemoveLast ()
 
void SetCount (int32 NewCount)
 
int32 Count ()
 
void Sort ()
 
template<typename ExtremityType1 , typename ExtremityType2 >
const SegmentType * FindIntersectingSegment (const ExtremityType1 *StartExtremity, const ExtremityType2 *EndExtremity) const
 
template<typename ExtremityType1 , typename ExtremityType2 >
int32 FindIntersectingSegments (const ExtremityType1 *StartExtremity, const ExtremityType2 *EndExtremity, TArray< const FIsoSegment * > *OutIntersectedSegments) const
 

Protected Attributes

const FGridGrid
 
TArray< SegmentType > Segments
 
bool bSegmentsAreSorted
 
const double Tolerance
 

Constructor & Destructor Documentation

◆ TIntersectionSegmentTool()

template<typename SegmentType >
UE::CADKernel::TIntersectionSegmentTool< SegmentType >::TIntersectionSegmentTool ( const FGrid InGrid,
const double  InTolerance 
)
inline

◆ ~TIntersectionSegmentTool()

template<typename SegmentType >
virtual UE::CADKernel::TIntersectionSegmentTool< SegmentType >::~TIntersectionSegmentTool ( )
virtualdefault

Member Function Documentation

◆ Count()

template<typename SegmentType >
int32 UE::CADKernel::TIntersectionSegmentTool< SegmentType >::Count ( )
inline

◆ Empty()

template<typename SegmentType >
void UE::CADKernel::TIntersectionSegmentTool< SegmentType >::Empty ( int32  InMaxNum)
inline

◆ FindIntersectingSegment()

template<typename SegmentType >
const SegmentType * UE::CADKernel::TIntersectionSegmentTool< SegmentType >::FindIntersectingSegment ( const ExtremityType1 StartExtremity,
const ExtremityType2 EndExtremity 
) const
inline

◆ FindIntersectingSegments()

template<typename SegmentType >
int32 UE::CADKernel::TIntersectionSegmentTool< SegmentType >::FindIntersectingSegments ( const ExtremityType1 StartExtremity,
const ExtremityType2 EndExtremity,
TArray< const FIsoSegment * > *  OutIntersectedSegments 
) const
inline

◆ RemoveLast()

template<typename SegmentType >
void UE::CADKernel::TIntersectionSegmentTool< SegmentType >::RemoveLast ( )
inline

◆ Reserve()

template<typename SegmentType >
void UE::CADKernel::TIntersectionSegmentTool< SegmentType >::Reserve ( int32  InMaxNum)
inline

◆ SetCount()

template<typename SegmentType >
void UE::CADKernel::TIntersectionSegmentTool< SegmentType >::SetCount ( int32  NewCount)
inline

◆ Sort()

template<typename SegmentType >
void UE::CADKernel::TIntersectionSegmentTool< SegmentType >::Sort ( )
inline

segments are sorted by DMin increasing

Member Data Documentation

◆ bSegmentsAreSorted

template<typename SegmentType >
bool UE::CADKernel::TIntersectionSegmentTool< SegmentType >::bSegmentsAreSorted
protected

◆ Grid

template<typename SegmentType >
const FGrid& UE::CADKernel::TIntersectionSegmentTool< SegmentType >::Grid
protected

◆ Segments

template<typename SegmentType >
TArray<SegmentType> UE::CADKernel::TIntersectionSegmentTool< SegmentType >::Segments
protected

◆ Tolerance

template<typename SegmentType >
const double UE::CADKernel::TIntersectionSegmentTool< SegmentType >::Tolerance
protected

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