FVector::Coincident

See if two normal vectors are coincident (nearly parallel and point in the same direction).

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/Vector.h"

Syntax

static bool Coincident
(
    const FVector & Normal1,
    const FVector & Normal2,
    float ParallelCosineThreshold
)

Remarks

See if two normal vectors are coincident (nearly parallel and point in the same direction).

Returns

true if vectors are coincident (nearly parallel and point in the same direction), false otherwise.

Parameters

Parameter

Description

Normal1

First normalized vector.

Normal2

Second normalized vector.

ParallelCosineThreshold

Normals are coincident if dot product (cosine of angle between them) is greater than or equal to this. For example: cos(1.0 degrees).

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