PolygonTriangulation::TriangulateSimplePolygon

Compute triangulation of 3D simple polygon using ear-clipping

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/CompGeom/PolygonTriangulation.h

Include

#include "CompGeom/PolygonTriangulation.h"

Syntax

namespace PolygonTriangulation
{
    template<typename RealType>
    void PolygonTriangulation::TriangulateSimplePolygon
    (
        const TArray< FVector3< RealType >> & VertexPositions,
        TArray< FIndex3i > & OutTriangles
    )
}

Remarks

Compute triangulation of 3D simple polygon using ear-clipping

Parameters

Parameter

Description

VertexPositions

ordered vertices of 3D polygon

OutTriangles

computed triangulation. Each triangle is a tuple of indices into VertexPositions.

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