tidy3d.plugins.klayout.drc.results.PolygonMarker

tidy3d.plugins.klayout.drc.results.PolygonMarker#

class PolygonMarker[source]#

Bases: DRCMarker

A class for storing KLayout DRC polygon marker results (hull + optional holes).

Parameters:
  • cell (str) – Cell name where the violation occurred.

  • hull (tuple[tuple[float, float], ...]) – The outer hull of the polygon. The format is ((x1, y1), (x2, y2), …).

  • holes (tuple[tuple[tuple[float, float], ...], ...] = ()) – Holes cut from the hull. Each hole has format ((x1, y1), (x2, y2), …).

Attributes

polygons

Return (hull,) + holes for backwards compatibility with MultiPolygonMarker.

hull

holes

cell

hull#
holes#
property polygons#

Return (hull,) + holes for backwards compatibility with MultiPolygonMarker.