Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/ConvexHull2d.h |
| Include | #include "Math/ConvexHull2d.h" |
namespace ConvexHull2D
{
template<typename Allocator>
void ConvexHull2D::ComputeConvexHullLegacy
(
const TArray < FVector , Allocator > & Points,
TArray < int32 , Allocator > & OutIndices
)
}
Remarks
Calculates convex hull on xy-plane of points on 'Points' and stores the indices of the resulting hull in 'OutIndices'. This code was fixed to work with duplicated vertices and precision issues.
Should be replaced by ComputeConvexHull and tested properly. Keep for backward compatibility until then.