TriangleUtilities::ComputeTriangleArea

This function compute the area of a triangle, it will return zero if the triangle is degenerated

Windows
MacOS
Linux

References

Module

MeshUtilitiesCommon

Header

/Engine/Source/Runtime/MeshUtilitiesCommon/Public/MeshUtilitiesCommon.h

Include

#include "MeshUtilitiesCommon.h"

Syntax

namespace TriangleUtilities
{
    static float TriangleUtilities::ComputeTriangleArea
    (
        const FVector & PointA,
        const FVector & PointB,
        const FVector & PointC
    )
}

Remarks

This function compute the area of a triangle, it will return zero if the triangle is degenerated

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