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

Function layer

src/laybasic/laybasic/layObjectInstPath.h:155–159  ·  view source on GitHub ↗

* @brief Get the layer that the selected shape is on */

Source from the content-addressed store, hash-verified

153 * @brief Get the layer that the selected shape is on
154 */
155 unsigned int layer () const
156 {
157 tl_assert (! is_cell_inst ());
158 return (unsigned int) m_layer;
159 }
160
161 /**
162 * @brief Set the selected shape

Callers 2

is_validMethod · 0.70
color_indexMethod · 0.70

Calls 1

is_cell_instFunction · 0.85

Tested by

no test coverage detected