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, optionalWhether to include partial intersecting instances. The default is True. simple_checkbool, optionalWhether to perform a single check based on the padstack center or check the padstack bounding box. Returns: boolTrue when successful, False when failed.