Utility.PointInPolygon (Point2D, IList<Point2D>, Double) Method

Tests if a 2D point is inside a 2D polygon.
Public Shared Function PointInPolygon( _ 
ByVal testPoint As Point2D, _ 
ByVal polygon As IList(Of Point2D), _ 
ByVal domainSize As Double
) As pointStatusType
This language is not supported or no code example is available.
public static pointStatusType PointInPolygon( 
Point2D testPoint
IList<Point2D> polygon
double domainSize 
)
This language is not supported or no code example is available.

Parameters

testPoint
Point2D

The test 2D point

polygon
IList<Point2D>

The polygon

domainSize
double

The maximum diagonal size of the relevant polygon

Return Value

pointStatusType

The point status.

.NET Framework

Supported in: 4.8

In this article

Definition