in_polygon#

EDBPadstackInstance.in_polygon(polygon_data, include_partial=True, simple_check=False)[source]#

Check if padstack Instance is in given polygon data.

Parameters:
polygon_dataPolygonData Object
include_partialbool, optional

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

simple_checkbool, optional

Whether to perform a single check based on the padstack center or check the padstack bounding box.

Returns:
bool

True when successful, False when failed.