TPolygon2::FindIntersections

Find all the points where an edge of the Polygon intersects an edge of the OtherPolygon

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

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

Include

#include "Polygon2.h"

Syntax

bool FindIntersections
(
    const TPolygon2< T > & OtherPoly,
    TArray< FVector2< T >> & OutArray
) const

Remarks

Find all the points where an edge of the Polygon intersects an edge of the OtherPolygon

Returns

true if any intersections were found

Parameters

Parameter

Description

OtherPoly

polygon to test against

OutArray

intersection points are stored here

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