UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
BezierUtilities.h File Reference
#include "Math/Vector.h"
#include "Math/Box.h"
#include "Math/UnrealMathUtility.h"

Go to the source code of this file.

Namespaces

namespace  UE
 
namespace  UE::CubicBezier
 

Functions

FVector UE::CubicBezier::Eval (const FVector &P0, const FVector &P1, const FVector &P2, const FVector &P3, const float t)
 
FVector UE::CubicBezier::EvalDerivate (const FVector &P0, const FVector &P1, const FVector &P2, const FVector &P3, const float t)
 
ENGINE_API void UE::CubicBezier::SplitAt (const FVector &P0, const FVector &P1, const FVector &P2, const FVector &P3, const float t, FVector OutResult[5])
 
ENGINE_API FBox UE::CubicBezier::CalcBounds (const FVector &P0, const FVector &P1, const FVector &P2, const FVector &P3)
 
ENGINE_API void UE::CubicBezier::ClosestPointApproximate (const FVector &FromPoint, const FVector &P0, const FVector &P1, const FVector &P2, const FVector &P3, FVector &OutClosestPoint, float &OutClosestT, const int Steps=16)
 
ENGINE_API void UE::CubicBezier::SegmentClosestPointApproximate (const FVector &SegStart, const FVector &SegEnd, const FVector &P0, const FVector &P1, const FVector &P2, const FVector &P3, FVector &OutClosestPoint, float &OutClosestT, const int Steps=16)
 
ENGINE_API float UE::CubicBezier::ArcLengthApproximate (const FVector &P0, const FVector &P1, const FVector &P2, const FVector &P3)
 
ENGINE_API void UE::CubicBezier::Tessellate (TArray< FVector > &Output, const FVector &P0, const FVector &P1, const FVector &P2, const FVector &P3, const float Tolerance, const int MaxLevel=6)