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

Method transform

src/db/db/dbArray.h:1081–1089  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1079 }
1080
1081 virtual void transform (const complex_trans_type &ct)
1082 {
1083 m_box = box_type ();
1084 for (iterator p = m_v.begin (); p != m_v.end (); ++p) {
1085 *p = vector_type (ct * *p);
1086 m_box += point_type () + *p;
1087 }
1088 sort ();
1089 }
1090
1091 virtual void transform (const simple_trans_type &st)
1092 {

Callers

nothing calls this directly

Calls 4

sortFunction · 0.85
beginMethod · 0.45
endMethod · 0.45
transformMethod · 0.45

Tested by

no test coverage detected