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

Tests if a 2D point is inside to a region composed by multiple 2D polygons (clockwise/anticlockwise orientation rule).
Public Shared Function PointInPolygon( _ 
ByVal testPoint As Point2D, _ 
ByVal polygonList As IList(Of 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<IList<Point2D>> polygonList
double domainSize 
)
This language is not supported or no code example is available.

Parameters

testPoint
Point2D

The test 2D point

polygonList
IList<IList<Point2D>>

The region as a collection of properly oriented 2D polygons

domainSize
double

The maximum diagonal size polygon

Return Value

pointStatusType

The point status.

.NET Framework

Supported in: 4.8

In this article

Definition