FPathIsPointInPolygon Method
Return a value indicating whether the specified point is in the
caller's polygon.
Namespace: GeometryAssembly: Geometry (in Geometry.dll) Version: 25.2714.4042
public static bool IsPointInPolygon(
List<FVector2> path,
FVector2 point,
bool allowEdge = true
)
Public Shared Function IsPointInPolygon (
path As List(Of FVector2),
point As FVector2,
Optional allowEdge As Boolean = true
) As Boolean
No code example is currently available or this language may not be supported.
- path ListFVector2
-
The path to check to test for.
- point FVector2
-
The point to test.
- allowEdge Boolean (Optional)
-
Value indicating whether edge is included as a match.
Boolean
True if the specified point exists within the polygon. Otherwise,
false.