Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/TPolygon2
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Get the normal vector at a vertex of the polygon, which is perpendicular to GetTangent() Points "inward" for a Clockwise Polygon, and outward for CounterClockwise | Polygon2.h | ||
| Polygon2.h |
GetNormal(int)
Description
Get the normal vector at a vertex of the polygon, which is perpendicular to GetTangent() Points "inward" for a Clockwise Polygon, and outward for CounterClockwise
| Name | GetNormal |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Polygon2.h |
| Include Path | #include "Polygon2.h" |
TVector2 < T > GetNormal
(
int VertexIndex
) const
GetNormal(int, T)
| Name | GetNormal |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Polygon2.h |
| Include Path | #include "Polygon2.h" |
TVector2 < T > GetNormal
(
int iSeg,
T SegmentParam
) const
interpolated normal to the segment at the given parameter value
Parameters
| Name | Remarks |
|---|---|
| SegmentIndex | index of first vertex of the edge |
| SegmentParam | parameter in range [0,1] along segment |