FMath::PointsAreCoplanar

Determines whether a given set of points are coplanar, with a tolerance.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/UnrealMathUtility.h"

Source

/Engine/Source/Runtime/Core/Private/Math/UnrealMath.cpp

Syntax

static bool PointsAreCoplanar
(
    const TArray< FVector > & Points,
    const float Tolerance
)

Remarks

Determines whether a given set of points are coplanar, with a tolerance. Any three points or less are always coplanar.

Returns

Whether the points are relatively coplanar, based on the tolerance

Parameters

Parameter

Description

Points

The set of points to determine coplanarity for.

Tolerance

Larger numbers means more variance is allowed.

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