Eyeshot 10 WinForms API Reference
PointInPolygon(Point2D,IList<Point2D>,Double) Method

WinForms Assembly > devDept.Geometry Namespace > Utility Class > PointInPolygon Method : PointInPolygon(Point2D,IList<Point2D>,Double) Method
The test 2D point
The polygon
The maximum diagonal size of the relevant polygon
Tests if a 2D point is inside a 2D polygon.
Syntax
'Declaration
 
Public Overloads Shared Function PointInPolygon( _
   ByVal testPoint As Point2D, _
   ByVal polygon As IList(Of Point2D), _
   ByVal domainSize As Double _
) As pointStatusType
public static pointStatusType PointInPolygon( 
   Point2D testPoint,
   IList<Point2D> polygon,
   double domainSize
)

Parameters

testPoint
The test 2D point
polygon
The polygon
domainSize
The maximum diagonal size of the relevant polygon

Return Value

The point status.
See Also

Reference

Utility Class
Utility Members
Overload List