Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/GeomTools.h |
Include |
#include "GeomTools.h" |
class FGeomTools2D
Name | Description | ||
---|---|---|---|
|
ArePolygonsValid |
Checks that these polygons can be successfully triangulated. |
|
|
CorrectPolygonWinding |
Corrects the polygon winding to match bNegativeWinding Ie. |
|
|
GenerateConvexHullFromPoints |
Generate convex hull from points. |
|
|
GenerateConvexPolygonsFromTriangles |
Generate convex shapes. |
|
|
IsPointInPolygon |
Returns true if TestPoint is inside the polygon defined by PolygonPoints. |
|
|
IsPolygonWindingCCW |
Returns true if the points forming a polygon have CCW winding Returns true if the polygon isn't valid |
|
|
IsPolygonWindingCCW |
Returns true if the points forming a polygon have CCW winding Returns true if the polygon isn't valid |
|
|
ReducePolygons |
Merge additive and subtractive polygons, split them up into additive polygons Assumes all polygons and overlapping polygons are valid, and the windings match the setting on the polygon |
|
|
RemoveRedundantTriangles |
2D version of RemoveRedundantTriangles from GeomTools |
|
|
TriangulatePoly |
Triangulate a polygon. Check notes in implementation. |