Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FGeomTools2D
Description
Corrects the polygon winding to match bNegativeWinding Ie. If the vertex order doesn't match the winding, it is reversed Returns empty array of points if num points < 3
| Name | CorrectPolygonWinding |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/GeomTools.h |
| Include Path | #include "GeomTools.h" |
| Source | /Engine/Source/Runtime/Engine/Private/GeomTools.cpp |
static void CorrectPolygonWinding
(
TArray < FVector2D > & OutVertices,
const TArray < FVector2D > & Vertices,
const bool bNegativeWinding
)