Navigation
API > API/Plugins > API/Plugins/GeometryAlgorithms
Offsets a given polygon (a polyline or closed polygon), determined by EndType by a given amount.
| Name | TOffsetPolygon2 |
| Type | class |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/GeometryAlgorithms/Public/Curve/PolygonOffsetUtils.h |
| Include Path | #include "Curve/PolygonOffsetUtils.h" |
Syntax
template<typename GeometryType, typename RealType>
class TOffsetPolygon2
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Curve/PolygonOffsetUtils.h | |||
TOffsetPolygon2
(
const TArray< GeometryType >& InPolygons |
Curve/PolygonOffsetUtils.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DefaultStepsPerRadianScale | double | Curve/PolygonOffsetUtils.h | ||
| EndType | EPolygonOffsetEndType | Curve/PolygonOffsetUtils.h | ||
| JoinType | EPolygonOffsetJoinType | Curve/PolygonOffsetUtils.h | ||
| MaxStepsPerRadian | double | Curve/PolygonOffsetUtils.h | ||
| MiterLimit | RealType | Curve/PolygonOffsetUtils.h | ||
| Offset | RealType | Curve/PolygonOffsetUtils.h | ||
| Polygons | TArray< GeometryType > | Input. | Curve/PolygonOffsetUtils.h | |
| Result | TArray< UE::Geometry::TGeneralPolygon2< RealType > > | Output. | Curve/PolygonOffsetUtils.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool ComputeResult() |
Curve/PolygonOffsetUtils.h |