| 6149 | } |
| 6150 | |
| 6151 | std::vector<db::DCplxTrans> |
| 6152 | LayoutViewBase::cv_transform_variants (int cv_index) const |
| 6153 | { |
| 6154 | std::set<db::DCplxTrans> trns_variants; |
| 6155 | for (lay::LayerPropertiesConstIterator l = begin_layers (); !l.at_end (); ++l) { |
| 6156 | if (! l->has_children ()) { |
| 6157 | int cvi = l->cellview_index () >= 0 ? l->cellview_index () : 0; |
| 6158 | if (cv_index < int (cellviews ()) && cvi == cv_index) { |
| 6159 | trns_variants.insert (l->trans ().begin (), l->trans ().end ()); |
| 6160 | } |
| 6161 | } |
| 6162 | } |
| 6163 | return std::vector<db::DCplxTrans> (trns_variants.begin (), trns_variants.end ()); |
| 6164 | } |
| 6165 | |
| 6166 | std::vector<db::DCplxTrans> |
| 6167 | LayoutViewBase::cv_transform_variants_with_empty (int cv_index) const |
no test coverage detected