in_polygon#

EdbPolygon.in_polygon(point_data, include_partial=True)[source]#

Check if padstack Instance is in given polygon data.

Parameters:
point_dataPointData Object or list of float
include_partialbool, optional

Whether to include partial intersecting instances. The default is True.

Returns:
bool

True when successful, False when failed.