FPathIsPointInPolygon Method

Return a value indicating whether the specified point is in the caller's polygon.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2414.4032
C#
public static bool IsPointInPolygon(
	List<FPoint> path,
	FPoint point,
	bool allowEdge = true
)

Parameters

path  ListFPoint
The path to check to test for.
point  FPoint
The point to test.
allowEdge  Boolean  (Optional)
Value indicating whether edge is included as a match.

Return Value

Boolean
True if the specified point exists within the polygon. Otherwise, false.

See Also