Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore
| Name | UGeometryScriptLibrary_PolygonListFunctions |
| Type | class |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/PolygonFunctions.h |
| Include Path | #include "GeometryScript/PolygonFunctions.h" |
Syntax
UCLASS (MinimalAPI, Meta=(ScriptName="GeometryScript_PolygonList"))
class UGeometryScriptLibrary_PolygonListFunctions : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → UGeometryScriptLibrary_PolygonListFunctions
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bFixHoleOrientations | const TArray< FGeometryScriptSimplePolygon > bool | GeometryScript/PolygonFunctions.h | ||
| bFixHoleOrientations | FGeometryScriptSimplePolygon const TArray< FGeometryScriptSimplePolygon > bool | GeometryScript/PolygonFunctions.h | ||
| HolePolygons | const TArray< FGeometryScriptSimplePolygon > & | GeometryScript/PolygonFunctions.h | ||
| HolePolygons | FGeometryScriptSimplePolygon const TArray< FGeometryScriptSimplePolygon > & | GeometryScript/PolygonFunctions.h | ||
| OuterPolygon | FGeometryScriptSimplePolygon | GeometryScript/PolygonFunctions.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void AppendPolygonList
(
UPARAM(ref) FGeometryScriptGeneralPolygonList& PolygonList, |
Append the polygons in 'Polygons to Append' to Polygon List | GeometryScript/PolygonFunctions.h |
|
static FGeometryScriptGeneralPolygonList CreatePolygonsFromOpenPolyPathsOffset
(
TArray< FGeometryScriptPolyPath > PolyPaths, |
Apply an offset to a set of open 2D PolyPaths, generating closed polygons as a result | GeometryScript/PolygonFunctions.h |
|
static FGeometryScriptGeneralPolygonList CreatePolygonsFromPathOffset
(
TArray< FVector2D > Path, |
Apply an offset to a single open 2D path, generating closed polygons as a result | GeometryScript/PolygonFunctions.h |
|
static double GetPolygonArea
(
FGeometryScriptGeneralPolygonList PolygonList, |
Returns the area enclosed by a specified Polygon in a Polygon List. | GeometryScript/PolygonFunctions.h |
|
static FBox2D GetPolygonBounds
(
FGeometryScriptGeneralPolygonList PolygonList, |
Returns the bounding box of a Polygon. Returns an empty, invalid box for an invalid PolygonIndex. | GeometryScript/PolygonFunctions.h |
|
static int32 GetPolygonCount
(
FGeometryScriptGeneralPolygonList PolygonList |
Returns the number of polygons in the Polygon List | GeometryScript/PolygonFunctions.h |
|
static int32 GetPolygonHoleCount
(
FGeometryScriptGeneralPolygonList PolygonList, |
Returns the number of holes in a Polygon. Returns zero for an invalid PolygonIndex. | GeometryScript/PolygonFunctions.h |
|
static double GetPolygonListArea
(
FGeometryScriptGeneralPolygonList PolygonList |
Returns the area enclosed by a Polygon List | GeometryScript/PolygonFunctions.h |
|
static FBox2D GetPolygonListBounds
(
FGeometryScriptGeneralPolygonList PolygonList |
Returns the bounding box of a Polygon List | GeometryScript/PolygonFunctions.h |
|
static FVector2D GetPolygonVertex
(
FGeometryScriptGeneralPolygonList PolygonList, |
Returns the specified vertex of a Polygon either of the outer polygon, if HoleIndex is -1, or specified inner hole. | GeometryScript/PolygonFunctions.h |
|
static int32 GetPolygonVertexCount
(
FGeometryScriptGeneralPolygonList PolygonList, |
Returns the number of vertices in a Polygon's outer shape, if HoleIndex is -1, or in the specified inner hole. | GeometryScript/PolygonFunctions.h |
|
static void GetPolygonVertices
(
FGeometryScriptGeneralPolygonList PolygonList, |
Returns the vertices of a Polygon either of the outer polygon, if HoleIndex is -1, or specified inner hole. | GeometryScript/PolygonFunctions.h |
|
static FGeometryScriptSimplePolygon GetSimplePolygon
(
FGeometryScriptGeneralPolygonList PolygonList, |
Returns a specified Simple Polygon from a Polygon List either the outer polygon, if HoleIndex is -1, or specified inner hole. | GeometryScript/PolygonFunctions.h |
|
static FGeometryScriptGeneralPolygonList PolygonsDifference
(
FGeometryScriptGeneralPolygonList PolygonList, |
Compute difference of Polygon List and Polygons to Subtract | GeometryScript/PolygonFunctions.h |
|
static FGeometryScriptGeneralPolygonList PolygonsExclusiveOr
(
FGeometryScriptGeneralPolygonList PolygonList, |
Compute exclusive or of Polygon List and Polygons to Exclusive Or | GeometryScript/PolygonFunctions.h |
|
static FGeometryScriptGeneralPolygonList PolygonsIntersection
(
FGeometryScriptGeneralPolygonList PolygonList, |
Compute intersection of Polygon List and Polygons to Intersect | GeometryScript/PolygonFunctions.h |
|
static FGeometryScriptGeneralPolygonList PolygonsMorphologyClose
(
FGeometryScriptGeneralPolygonList PolygonList, |
Apply a morphological "close" operator to a list of closed polygons first offsetting by +Offset, then by -Offset. | GeometryScript/PolygonFunctions.h |
|
static FGeometryScriptGeneralPolygonList PolygonsMorphologyOpen
(
FGeometryScriptGeneralPolygonList PolygonList, |
Apply a morphological "open" operator to a list of closed polygons first offsetting by -Offset, then by +Offset. | GeometryScript/PolygonFunctions.h |
|
static FGeometryScriptGeneralPolygonList PolygonsOffset
(
FGeometryScriptGeneralPolygonList PolygonList, |
Apply a single offset to a list of closed polygons | GeometryScript/PolygonFunctions.h |
|
static FGeometryScriptGeneralPolygonList PolygonsOffsets
(
FGeometryScriptGeneralPolygonList PolygonList, |
Apply two offsets in sequence to a list of closed polygons | GeometryScript/PolygonFunctions.h |
|
static FGeometryScriptGeneralPolygonList PolygonsUnion
(
FGeometryScriptGeneralPolygonList PolygonList, |
Compute union of all polygons in Polygon List. | GeometryScript/PolygonFunctions.h |
|
static static UPARAM
(
DisplayName |
Create a Polygon List of a single Polygon, with optional holes | GeometryScript/PolygonFunctions.h |
|
static static UPARAM
(
DisplayName |
Add Polygon to a Polygon List, with optional holes. Returns index of the added polygon. | GeometryScript/PolygonFunctions.h |
|
static static UPARAM
(
DisplayName |
Create a Polygon List from an array of Simple Polygons | GeometryScript/PolygonFunctions.h |
|