Navigation
API > API/Runtime > API/Runtime/Core
Description
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.
| Name | ConvexHull2D::ComputeConvexHullLegacy |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/ConvexHull2d.h |
| Include Path | #include "Math/ConvexHull2d.h" |
namespace ConvexHull2D
{
template<typename Allocator>
void ConvexHull2D::ComputeConvexHullLegacy
(
const TArray < FVector, Allocator > & Points,
TArray < int32, Allocator > & OutIndices
)
}