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

Method bbox

src/db/db/dbArray.h:1969–1980  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1967 */
1968 template <class BoxConv>
1969 box_type bbox (const BoxConv &bc) const
1970 {
1971 if (mp_base) {
1972 if (mp_base->is_complex ()) {
1973 return mp_base->bbox (box_type (mp_base->complex_trans (simple_trans_type (m_trans)) * bc (m_obj)));
1974 } else {
1975 return mp_base->bbox (m_trans * bc (m_obj));
1976 }
1977 } else {
1978 return m_trans * bc (m_obj);
1979 }
1980 }
1981
1982 /**
1983 * @brief The raw bounding box of the array

Callers 2

raw_bboxMethod · 0.45
quad_boxMethod · 0.45

Calls 2

is_complexMethod · 0.45
complex_transMethod · 0.45

Tested by

no test coverage detected