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

Method begin_touching

src/db/db/dbArray.h:964–973  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

962 }
963
964 virtual std::pair <basic_array_iterator <Coord> *, bool>
965 begin_touching (const box_type &b) const
966 {
967 if (b.empty () || ! b.touches (m_box)) {
968 return std::make_pair (new iterated_array_iterator <Coord> (m_v.end (), m_v.end ()), false);
969 } else {
970 box_convert_type bc;
971 return std::make_pair (new iterated_array_iterator <Coord> (m_v.begin_touching (b, bc)), false);
972 }
973 }
974
975 virtual std::pair <basic_array_iterator <Coord> *, bool>
976 begin () const

Callers

nothing calls this directly

Calls 4

touchesMethod · 0.80
emptyMethod · 0.45
endMethod · 0.45
begin_touchingMethod · 0.45

Tested by

no test coverage detected