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

Method trans

src/laybasic/laybasic/layObjectInstPath.cc:119–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119db::ICplxTrans
120ObjectInstPath::trans () const
121{
122 db::ICplxTrans t;
123 // For instances, the last element is the instance itself - do not count that in the transformation.
124 iterator end = m_path.end ();
125 if (is_cell_inst () && end != m_path.begin ()) {
126 --end;
127 }
128 for (iterator i = m_path.begin (); i != end; ++i) {
129 t = t * i->complex_trans ();
130 }
131 return t;
132}
133
134void
135ObjectInstPath::remove_front (unsigned int n)

Callers 15

probe_netMethod · 0.45
highlight_currentMethod · 0.45
cell_changedMethod · 0.45
highlight_currentMethod · 0.45
trans_forFunction · 0.45
bbox_for_netFunction · 0.45
adjust_viewMethod · 0.45
update_highlightsMethod · 0.45
cm_copy_layerMethod · 0.45

Calls 4

is_cell_instFunction · 0.85
endMethod · 0.45
beginMethod · 0.45
complex_transMethod · 0.45

Tested by

no test coverage detected