ConvexHull2D::ComputeConvexHullLegacy2

Alternate simple implementation that was found to work correctly for points that are very close together (inside the 0-1 range).

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/ConvexHull2d.h

Include

#include "Math/ConvexHull2d.h"

Syntax

namespace ConvexHull2D
{
    template<typename Allocator>
    void ConvexHull2D::ComputeConvexHullLegacy2
    (
        const TArray< FVector2D, Allocator > & Points,
        TArray< int32, Allocator > & OutIndices
    )
}

Remarks

Alternate simple implementation that was found to work correctly for points that are very close together (inside the 0-1 range).

Should be replaced by ComputeConvexHull and tested properly. Keep for backward compatibility until then.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss