UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::CADKernel::PolylineTools Namespace Reference

Functions

bool IsDichotomyToBePreferred (int32 InPolylineSize, int32 ResultSize)
 
template<typename PointType >
PointType LinearInterpolation (const TArray< PointType > &Array, const int32 Index, const double Coordinate)
 
double SectionCoordinate (const TArray< double > &Array, const int32 Index, const double Coordinate)
 
template<typename PointType >
double ComputeLength (const TArray< PointType > &Polyline)
 
template<typename PointType >
double ComputeSquareToleranceForProjection (const TArray< PointType > &Polyline)
 
template<typename PointType >
TArray< doubleComputePolylineSegmentLengths (const PointType &StartPoint, const TArray< PointType > &InnerPolyline, const PointType &EndPoint)
 
template<typename PointType >
void ExtendTo (TArray< PointType > &Polyline, const PointType &DesiredEnd)
 
template<class PointType >
PointType ComputePoint (const TArray< double > &PolylineCoordinates, const TArray< PointType > &PolylinePoints, const int32 Index, const double PointCoordinate)
 

Function Documentation

◆ ComputeLength()

template<typename PointType >
double UE::CADKernel::PolylineTools::ComputeLength ( const TArray< PointType > &  Polyline)

◆ ComputePoint()

template<class PointType >
PointType UE::CADKernel::PolylineTools::ComputePoint ( const TArray< double > &  PolylineCoordinates,
const TArray< PointType > &  PolylinePoints,
const int32  Index,
const double  PointCoordinate 
)

◆ ComputePolylineSegmentLengths()

template<typename PointType >
TArray< double > UE::CADKernel::PolylineTools::ComputePolylineSegmentLengths ( const PointType &  StartPoint,
const TArray< PointType > &  InnerPolyline,
const PointType &  EndPoint 
)

◆ ComputeSquareToleranceForProjection()

template<typename PointType >
double UE::CADKernel::PolylineTools::ComputeSquareToleranceForProjection ( const TArray< PointType > &  Polyline)

◆ ExtendTo()

template<typename PointType >
void UE::CADKernel::PolylineTools::ExtendTo ( TArray< PointType > &  Polyline,
const PointType &  DesiredEnd 
)

Progressively deforms a polyline (or a control polygon) so that its end is in the desired position

◆ IsDichotomyToBePreferred()

bool UE::CADKernel::PolylineTools::IsDichotomyToBePreferred ( int32  InPolylineSize,
int32  ResultSize 
)
inline

◆ LinearInterpolation()

template<typename PointType >
PointType UE::CADKernel::PolylineTools::LinearInterpolation ( const TArray< PointType > &  Array,
const int32  Index,
const double  Coordinate 
)
inline

◆ SectionCoordinate()

double UE::CADKernel::PolylineTools::SectionCoordinate ( const TArray< double > &  Array,
const int32  Index,
const double  Coordinate 
)
inline