FVector::Coplanar

See if two planes are coplanar.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/Vector.h"

Syntax

static bool Coplanar
(
    const FVector & Base1,
    const FVector & Normal1,
    const FVector & Base2,
    const FVector & Normal2,
    float ParallelCosineThreshold
)

Remarks

See if two planes are coplanar. They are coplanar if the normals are nearly parallel and the planes include the same set of points.

Returns

true if the planes are coplanar, false otherwise.

Parameters

Parameter

Description

Base1

The base point in the first plane.

Normal1

The normal of the first plane.

Base2

The base point in the second plane.

Normal2

The normal of the second plane.

ParallelCosineThreshold

Normals are parallel if absolute value of dot product is greater than or equal to this.

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