Return of DRC is not edge pair

Hi all,
I have some DRC following:
input1.drc(enclosed(input2,projection) == 2.nm) # return edges
input1.drc(enclosed(input2,projection) <= 2.nm) # return edges
input1.drc(enclosed(input2,projection) < 2.nm) # return edge pairs

I expect the result of three cases above is edge pair only. Do you know why?.

Thank you.
dai

Comments

  • @dai This is documented here: https://www.klayout.de/doc-qt5/about/drc_ref_global.html#width

    The definition of the "==" operation is not trivial and eventually it is implemented as "<" check which strikes out the "closer" parts and a ">" check which strikes out the "further" parts. These are boolean edge operations on the original edge which renders edges only.

    "<=" is implemented as "not >" which is also a boolean operation and leaves edges for the same reason.

    I may change this in the future, but as of know that is how it is implemented.

    Matthias

  • Thank you, @Matthias

    dai

Sign In or Register to comment.