UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
PolygonEdgeMeshGeneratorLocal Namespace Reference

Functions

double TwoRayCircleTangentTest (const FVector2d &RayOrigin, const FVector2d &RayDirection0, const FVector2d &RayDirection1, double CircleRadius)
 
FVector2d FindCircleCenter (double CircleRadius, const FVector2d &PointOnCircle0, const FVector2d &PointOnCircle1, const FVector2d &Tangent0)
 
void GenerateArc (const FVector2d &PointOnCircle0, const FVector2d &PointOnCircle1, const FVector2d &CircleCenter, double CircleRadius, int NumArcPoints, TArray< FVector2d > &OutArc)
 
void RoundCorner (const FVector2d &P0, const FVector2d &P1, const FVector2d &P2, double CircleRadius, int NumArcPoints, TArray< FVector2d > &OutCorner)
 
FVector2d ProjectPathVertex (const FVector3d &InVertex, const FFrame3d &ProjectionFrame)
 
FVector3d UnprojectPathVertex (const FVector2d &InVertex, const FFrame3d &ProjectionFrame)
 
void ComputeMaxCornerRadii (const TArray< FVector3d > &Path, const FFrame3d &PolygonFrame, TArray< double > &MaxCircleRadii)
 
double ArcLength (const TArray< FVector3d > &Path, double MinSegmentArcLength=0.1)
 
double PartialArcLength (const TArray< FVector3d > &Path, int MaxIndex, double MinSegmentArcLength=0.1)
 

Function Documentation

◆ ArcLength()

double PolygonEdgeMeshGeneratorLocal::ArcLength ( const TArray< FVector3d > &  Path,
double  MinSegmentArcLength = 0.1 
)

◆ ComputeMaxCornerRadii()

void PolygonEdgeMeshGeneratorLocal::ComputeMaxCornerRadii ( const TArray< FVector3d > &  Path,
const FFrame3d PolygonFrame,
TArray< double > &  MaxCircleRadii 
)

◆ FindCircleCenter()

FVector2d PolygonEdgeMeshGeneratorLocal::FindCircleCenter ( double  CircleRadius,
const FVector2d PointOnCircle0,
const FVector2d PointOnCircle1,
const FVector2d Tangent0 
)

◆ GenerateArc()

void PolygonEdgeMeshGeneratorLocal::GenerateArc ( const FVector2d PointOnCircle0,
const FVector2d PointOnCircle1,
const FVector2d CircleCenter,
double  CircleRadius,
int  NumArcPoints,
TArray< FVector2d > &  OutArc 
)

◆ PartialArcLength()

double PolygonEdgeMeshGeneratorLocal::PartialArcLength ( const TArray< FVector3d > &  Path,
int  MaxIndex,
double  MinSegmentArcLength = 0.1 
)

◆ ProjectPathVertex()

FVector2d PolygonEdgeMeshGeneratorLocal::ProjectPathVertex ( const FVector3d InVertex,
const FFrame3d ProjectionFrame 
)

◆ RoundCorner()

void PolygonEdgeMeshGeneratorLocal::RoundCorner ( const FVector2d P0,
const FVector2d P1,
const FVector2d P2,
double  CircleRadius,
int  NumArcPoints,
TArray< FVector2d > &  OutCorner 
)

◆ TwoRayCircleTangentTest()

double PolygonEdgeMeshGeneratorLocal::TwoRayCircleTangentTest ( const FVector2d RayOrigin,
const FVector2d RayDirection0,
const FVector2d RayDirection1,
double  CircleRadius 
)

◆ UnprojectPathVertex()

FVector3d PolygonEdgeMeshGeneratorLocal::UnprojectPathVertex ( const FVector2d InVertex,
const FFrame3d ProjectionFrame 
)