/Engine/Source/Runtime/GeometryCore/Public/Curve/CurveUtil.h
Use the Sutherland–Hodgman algorithm to clip the vertices to the given bounds Note if the path/polygon is concave, this may leave overlapping edges at the boundary. Note this modifies and re-sizes the input array, so is written forTArrayinstead ofTArrayView
namespace UE { namespace Geometry { namespace CurveUtil { template<typename RealType, typename VectorType, bool bLoop, int ClipDims> static void UE::Geometry::CurveUtil::ClipConvexToBounds ( [TArray](API\Runtime\Core\Containers\TArray)< VectorType > & Vertices, VectorType Min, VectorType Max ) } } }