Closed joamatab closed 7 months ago
I am not sure I understand what you want from this? The bounding box? c.bbox(layer_index)
or c.bbox()
or in um c.dbbox()
and c.dbbox(layer_index)
yes, it's similar to bbox but more convenient, as it allows you to easily get
nc
north-centersw
south-westI mean a lot of it is there:
box.left, box.right, box.bottom, box.top, box.p1, box.p2, box.center(), box.height(), box.width()
best thing: this does not only apply to cells and instances but all geometrical objects. all of them have a .bbox()
@joamatab do you still think we need this?
We can close it
in gdsfactory we had the concept of size info for Cells and Instances
how about adding it to kfactory?