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

Method array_quad_box

src/db/db/dbShapeIterator.cc:894–914  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

892}
893
894db::Box
895ShapeIterator::array_quad_box () const
896{
897 if (m_array_iterator_valid) {
898 if (m_type == PolygonPtrArray) {
899 return get_array_quad_box<polygon_ptr_array_iterator_type, polygon_ptr_array_type> ();
900 } else if (m_type == SimplePolygonPtrArray) {
901 return get_array_quad_box<simple_polygon_ptr_array_iterator_type, simple_polygon_ptr_array_type> ();
902 } else if (m_type == PathPtrArray) {
903 return get_array_quad_box<path_ptr_array_iterator_type, path_ptr_array_type> ();
904 } else if (m_type == TextPtrArray) {
905 return get_array_quad_box<text_ptr_array_iterator_type, text_ptr_array_type> ();
906 } else if (m_type == BoxArray) {
907 return get_array_quad_box<box_array_iterator_type, box_array_type> ();
908 } else if (m_type == ShortBoxArray) {
909 return get_array_quad_box<short_box_array_iterator_type, short_box_array_type> ();
910 }
911 }
912
913 return db::Box::world ();
914}
915
916void
917ShapeIterator::cleanup ()

Callers 1

draw_layer_wo_cacheMethod · 0.80

Calls 1

worldFunction · 0.85

Tested by

no test coverage detected