set_clip_info#

Path.set_clip_info(clipping_poly, keep_inside=True)#

Set the data used to clip the path.

Parameters:
clipping_poly: :class:`PolygonData <ansys.edb.core.geometry.PolygonData>`

Polygon data to use to clip the path.

keep_inside: bool, default: True

Whether the part of the path inside the polygon should be preserved.