FVector2::Orient

Returns >0 if C is to the left of the A->B Line, <0 if to the right, 0 if on the line.

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/VectorTypes.h

Include

#include "VectorTypes.h"

Syntax

static T Orient
(
    const FVector2< T > & A,
    const FVector2< T > & B,
    const FVector2< T > & C
)

Remarks

Returns >0 if C is to the left of the A->B Line, <0 if to the right, 0 if on the line.

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