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
Input value inPoint Point2D Point the position of which will be tested
Input value inPolygon Path Polygon against which the position will be tested
Output value outIsContained bool True if point lies inside the polygon, false otherwise