TestPointArrayInPolygon


Tests which points lie inside a polygon.

Syntax

C++
C#
Python
 
def TestPointArrayInPolygon(
	inPoints: list[Point2D],
	inPolygon: Path,
	/
)
-> (
	outIsContainedArray: list[bool],
	outPoints: list[Point2D],
	outAreAllContained: bool
)

Parameters

Name Type Default Description
Input value inPoints list[Point2D] Points which will be tested
Input value inPolygon Path Polygon against which the points will be tested
Output value outIsContainedArray list[bool]
Output value outPoints list[Point2D] Points that are contained
Output value outAreAllContained bool