UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
CurveUtil.h File Reference
#include "VectorTypes.h"
#include "SegmentTypes.h"
#include "LineTypes.h"
#include "BoxTypes.h"

Go to the source code of this file.

Namespaces

namespace  UE
 
namespace  UE::Geometry
 
namespace  UE::Geometry::CurveUtil
 

Functions

template<typename RealType , typename VectorType , bool bLoop>
void UE::Geometry::CurveUtil::GetPrevNext (const TArrayView< const VectorType > &Vertices, int32 Idx, VectorType &OutPrev, VectorType &OutNext)
 
template<typename RealType , typename VectorType , bool bLoop>
void UE::Geometry::CurveUtil::GetVectorsToPrevNext (const TArrayView< const VectorType > &Vertices, int32 VertexIndex, VectorType &OutToPrev, VectorType &OutToNext, bool bNormalize)
 
template<typename RealType , typename VectorType >
void UE::Geometry::CurveUtil::GetVectorsToPrevNext (const TArrayView< const VectorType > &Vertices, int32 VertexIndex, VectorType &OutToPrev, VectorType &OutToNext, bool bNormalize, bool bLoop)
 
template<typename RealType , typename VectorType , bool bLoop>
VectorType UE::Geometry::CurveUtil::Tangent (const TArrayView< const VectorType > &Vertices, int32 Idx)
 
template<typename RealType , typename VectorType >
VectorType UE::Geometry::CurveUtil::Tangent (const TArrayView< const VectorType > &Vertices, int32 Idx, bool bLoop=false)
 
template<typename RealType , typename VectorType , bool bLoop>
VectorType UE::Geometry::CurveUtil::GetNormal_FaceAvg2 (const TArrayView< const VectorType > &Vertices, int VertexIndex)
 
template<typename RealType , typename VectorType >
RealType UE::Geometry::CurveUtil::SignedArea2 (const TArrayView< const VectorType > &Vertices)
 
template<typename RealType , typename VectorType >
RealType UE::Geometry::CurveUtil::WindingIntegral2 (const TArrayView< const VectorType > &Vertices, const VectorType &QueryPoint)
 
template<typename RealType , typename VectorType >
bool UE::Geometry::CurveUtil::Contains2 (const TArrayView< const VectorType > &Vertices, const VectorType &QueryPoint)
 
template<typename RealType , typename VectorType >
int UE::Geometry::CurveUtil::FindNearestIndex (const TArrayView< const VectorType > &Vertices, const VectorType &V)
 
template<typename RealType , typename VectorType >
bool UE::Geometry::CurveUtil::IsConvex2 (const TArrayView< const VectorType > Vertices, RealType Tolerance=TMathUtil< RealType >::ZeroTolerance, bool bDegenerateIsConvex=true)
 
template<typename RealType >
bool UE::Geometry::CurveUtil::ProjectPointInsideConvexPolygon (const TArrayView< const TVector2< RealType > > Vertices, TVector2< RealType > &ProjPt, bool bReverseOrientation=false)
 
template<typename RealType , typename VectorType >
void UE::Geometry::CurveUtil::InPlaceSmooth (TArrayView< VectorType > Vertices, int StartIdx, int EndIdx, double Alpha, int NumIterations, bool bClosed)
 
template<typename RealType , typename VectorType >
void UE::Geometry::CurveUtil::IterativeSmooth (TArrayView< VectorType > Vertices, int StartIdx, int EndIdx, double Alpha, int NumIterations, bool bClosed)