MCPcopy Create free account
hub / github.com/KLayout/klayout / raw_bbox

Method raw_bbox

src/db/db/dbArray.h:1993–2001  ·  view source on GitHub ↗

* @brief The raw bounding box of the array * * The raw bounding box is the box that encloses the array instantiation * points, ignoring the extensions of the object. * The raw bounding boxes can be accumulated for all arrays having the same * orientation, magnification and object. * bbox_from_raw_bbox can be used to compute the total bbox from such an * accumulated raw

Source from the content-addressed store, hash-verified

1991 * update_bbox method of db::cell.
1992 */
1993 box_type raw_bbox () const
1994 {
1995 point_type d = m_trans (point_type ());
1996 if (mp_base) {
1997 return mp_base->bbox (box_type (d, d));
1998 } else {
1999 return box_type (d, d);
2000 }
2001 }
2002
2003 /**
2004 * @brief The bbox of the array computed from the raw bounding box

Callers 2

dbArrayTests.ccFile · 0.80
update_bboxMethod · 0.80

Calls 1

bboxMethod · 0.45

Tested by

no test coverage detected