How could i merge two polygons in LVS?

How can I implement a merge function for polygon Obj within LVS, or a boolean "OR" operation?
Probably something like layer1 OR layer2


  • Hi Bian,

    Basically, merging is always implied (that is meant by "merged semantics"). So most functions - like "area" - will internally merge and cache the merged version. This way, "area" computes the area with overlaps removed.

    If you explicitly need to merge, you can do:

    • two-layer merge: `layer1 | layer2" or "layer1.or(layer2)"
    • one-layer merge: layer.merged


Sign In or Register to comment.