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

Method array_quad_id

src/db/db/dbShapeIterator.cc:862–882  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

860}
861
862size_t
863ShapeIterator::array_quad_id () const
864{
865 if (m_array_iterator_valid) {
866 if (m_type == PolygonPtrArray) {
867 return get_array_quad_id<polygon_ptr_array_iterator_type> ();
868 } else if (m_type == SimplePolygonPtrArray) {
869 return get_array_quad_id<simple_polygon_ptr_array_iterator_type> ();
870 } else if (m_type == PathPtrArray) {
871 return get_array_quad_id<path_ptr_array_iterator_type> ();
872 } else if (m_type == TextPtrArray) {
873 return get_array_quad_id<text_ptr_array_iterator_type> ();
874 } else if (m_type == BoxArray) {
875 return get_array_quad_id<box_array_iterator_type> ();
876 } else if (m_type == ShortBoxArray) {
877 return get_array_quad_id<short_box_array_iterator_type> ();
878 }
879 }
880
881 return 0;
882}
883
884template <class Iter, class Array>
885db::Box

Callers 1

draw_layer_wo_cacheMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected