Navigation
API > API/Plugins > API/Plugins/GeometryAlgorithms
Produces the boolean'd result of PolygonA and PolygonB depending on the OperationType. Both polygons must be closed.
| Name | TBooleanPolygon2Polygon2 |
| Type | class |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/GeometryAlgorithms/Public/Curve/PolygonIntersectionUtils.h |
| Include Path | #include "Curve/PolygonIntersectionUtils.h" |
Syntax
template<EPolygonBooleanOp OperationType, typename GeometryType, typename RealType>
class TBooleanPolygon2Polygon2
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TBooleanPolygon2Polygon2
(
const GeometryType& InPolygonA, |
Curve/PolygonIntersectionUtils.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PolygonA | GeometryType | Input. | Curve/PolygonIntersectionUtils.h | |
| PolygonB | GeometryType | Curve/PolygonIntersectionUtils.h | ||
| Result | TArray< UE::Geometry::TGeneralPolygon2< RealType > > | Output. | Curve/PolygonIntersectionUtils.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool ComputeResult() |
Curve/PolygonIntersectionUtils.h |