TestPointInPolygon
Tests whether a point lies inside a polygon.
Syntax
C++
Python
def TestPointInPolygon( inPoint: Point2D, inPolygon: Path, / ) -> outIsContained: bool
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inPoint | Point2D | Point the position of which will be tested | |
![]() |
inPolygon | Path | Polygon against which the position will be tested | |
![]() |
outIsContained | bool | True if point lies inside the polygon, false otherwise |


