Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UKismetMathLibrary
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/Engine/Classes/Kismet/KismetMathLibrary.h |
| Include Path | #include "Kismet/KismetMathLibrary.h" |
| Source | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.inl |
UFUNCTION (BlueprintPure, Category="Math|Geometry")
static UE_bool PointsAreCoplanar
(
const TArray < FVector > & Points,
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. |