/Engine/Source/Runtime/GeometryCore/Public/Curve/CurveUtil.h
Tests closed, 2D curve for convexity, with an optional tolerance allowing for approximately-collinear points Note that tolerance is per vertex angle, so a very-finely-sampled smooth concavity could be reported as convex
true if polygon is convex
namespace UE { namespace Geometry { namespace CurveUtil { template<typename RealType, typename VectorType> bool UE::Geometry::CurveUtil::IsConvex2 ( const [TArrayView](API\Runtime\Core\Containers\TArrayView)< const VectorType > Vertices, RealType Tolerance, bool bDegenerateIsConvex ) } } }