FGeomTools2D::IsPointInPolygon

Returns true if TestPoint is inside the polygon defined by PolygonPoints.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/GeomTools.h

Include

#include "GeomTools.h"

Source

/Engine/Source/Runtime/Engine/Private/GeomTools.cpp

Syntax

static bool IsPointInPolygon
(
    const FVector2D & TestPoint,
    const TArray< FVector2D > & PolygonPoints
)

Remarks

Returns true if TestPoint is inside the polygon defined by PolygonPoints.

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