FVector::PointsAreSame

Compare two points and see if they're the same, using a threshold.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/Vector.h"

Syntax

static bool PointsAreSame
(
    const FVector & P,
    const FVector & Q
)

Remarks

Compare two points and see if they're the same, using a threshold.

Returns

Whether points are the same within a threshold. Uses fast distance approximation (linear per-component distance).

Parameters

Parameter

Description

P

First vector.

Q

Second vector.

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