Navigation
API > API/Runtime > API/Runtime/GeometryCore
Description
Construct a normal at a vertex of the Polygon by averaging the adjacent face normals. This vector is independent of the lengths of the adjacent segments. Points "inward" for a Clockwise Polygon, and outward for CounterClockwise Note: Specific to 2D curves; normals computed by rotating tangents in the XY plane
| Name | UE::Geometry::CurveUtil::GetNormal_FaceAvg2 |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Curve/CurveUtil.h |
| Include Path | #include "Curve/CurveUtil.h" |
namespace UE
{
namespace Geometry
{
namespace CurveUtil
{
template<typename RealType, typename VectorType, bool bLoop>
VectorType UE::Geometry::CurveUtil::GetNormal_FaceAvg2
(
const TArrayView < const VectorType > & Vertices,
int VertexIndex
)
}
}
}