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

Method path

src/db/db/dbShape.cc:509–520  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

507}
508
509bool Shape::path (Shape::path_type &p) const
510{
511 if (m_type == Path) {
512 p = path ();
513 return true;
514 } else if (m_type == PathRef || m_type == PathPtrArrayMember) {
515 path_ref ().instantiate (p);
516 return true;
517 } else {
518 return false;
519 }
520}
521
522Shape::text_ref_type Shape::text_ref () const
523{

Callers 15

shapes_to_string_normFunction · 0.45
shapes_to_stringFunction · 0.45
dbShapesTests.ccFile · 0.45
setFunction · 0.45
operator ()Method · 0.45
operator ()Method · 0.45
writeMethod · 0.45
do_insertMethod · 0.45
transformMethod · 0.45
writeMethod · 0.45
clip_cellFunction · 0.45

Calls 3

path_refClass · 0.85
pathFunction · 0.70
instantiateMethod · 0.45

Tested by 2

shapes_to_string_normFunction · 0.36
shapes_to_stringFunction · 0.36