Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FMath
Description
Determines whether a given set of points are coplanar, with a tolerance. Any three points or less are always coplanar.
| Name | PointsAreCoplanar |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
| Include Path | #include "Math/UnrealMathUtility.h" |
| Source | /Engine/Source/Runtime/Core/Private/Math/UnrealMath.cpp |
static bool PointsAreCoplanar
(
const TArray < FVector > & Points,
const float Tolerance
)
Whether the points are relatively coplanar, based on the tolerance
Parameters
| Name | Remarks |
|---|---|
| Points | The set of points to determine coplanarity for. |
| Tolerance | Larger numbers means more variance is allowed. |