TVector2::Equals

Checks for equality with error-tolerant comparison.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

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

Include

#include "Math/Vector2D.h"

Syntax

bool Equals
(
    const TVector2< T > & V,
    T Tolerance
) const

Remarks

Checks for equality with error-tolerant comparison.

Returns

true if the vectors are equal within specified tolerance, otherwise false.

Parameters

Parameter

Description

V

The vector to compare.

Tolerance

Error tolerance.