mirror of https://github.com/KLayout/klayout.git
Regenerating doc.
This commit is contained in:
parent
048f7a0bff
commit
88e960b7cf
|
|
@ -1351,34 +1351,6 @@ The following image shows the effect of the "in" method (input1: red, input2: bl
|
|||
<p>
|
||||
This method is equivalent to calling <a href="#in">in</a> and <a href="#not_in">not_in</a>, but more
|
||||
efficient as it delivers both results in a single call.
|
||||
</p><p>
|
||||
This method is available for polygon, text and edge layers. Edges can be selected
|
||||
with respect to other edges or polygons. Texts can be selected with respect to
|
||||
polygons. Polygons can be selected with respect to edges, texts and other polygons.
|
||||
</p><p>
|
||||
The following image shows the effect of the "interacting" method (input1: red, input2: blue):
|
||||
</p><p>
|
||||
<table>
|
||||
<tr>
|
||||
<td><img src="/images/drc_interacting.png"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</p><p>
|
||||
If a single count is given, shapes from self are selected only if they do interact at least with the given
|
||||
number of (different) shapes from the other layer. If a min and max count is given, shapes from
|
||||
self are selected only if they interact with min_count or more, but a maximum of max_count different shapes
|
||||
from the other layer. Two polygons overlapping or touching at two locations are counted as single interactions.
|
||||
</p><p>
|
||||
<table>
|
||||
<tr>
|
||||
<td><img src="/images/drc_interacting2.png"/></td>
|
||||
<td><img src="/images/drc_interacting3.png"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="/images/drc_interacting4.png"/></td>
|
||||
<td><img src="/images/drc_interacting5.png"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</p>
|
||||
<a name="insert"/><h2>"insert" - Inserts one or many objects into the layer</h2>
|
||||
<keyword name="insert"/>
|
||||
|
|
@ -1486,6 +1458,50 @@ method computing both inside and outside part in a single call.
|
|||
</tr>
|
||||
</table>
|
||||
</p>
|
||||
<a name="interacting"/><h2>"interacting" - Selects shapes or regions of self which touch or overlap shapes from the other region</h2>
|
||||
<keyword name="interacting"/>
|
||||
<p>Usage:</p>
|
||||
<ul>
|
||||
<li><tt>layer.interacting(other)</tt></li>
|
||||
<li><tt>layer.interacting(other, min_count)</tt></li>
|
||||
<li><tt>layer.interacting(other, min_count, max_count)</tt></li>
|
||||
<li><tt>layer.interacting(other, min_count .. max_count)</tt></li>
|
||||
</ul>
|
||||
<p>
|
||||
This method selects all shapes or regions from self which touch or overlap shapes from the other
|
||||
region. Unless self is in raw mode (see <a href="#raw">raw</a>), coherent regions are selected from self,
|
||||
otherwise individual shapes are selected.
|
||||
It returns a new layer containing the selected shapes. A version which modifies self
|
||||
is <a href="#select_interacting">select_interacting</a>.
|
||||
</p><p>
|
||||
This method is available for polygon, text and edge layers. Edges can be selected
|
||||
with respect to other edges or polygons. Texts can be selected with respect to
|
||||
polygons. Polygons can be selected with respect to edges, texts and other polygons.
|
||||
</p><p>
|
||||
The following image shows the effect of the "interacting" method (input1: red, input2: blue):
|
||||
</p><p>
|
||||
<table>
|
||||
<tr>
|
||||
<td><img src="/images/drc_interacting.png"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</p><p>
|
||||
If a single count is given, shapes from self are selected only if they do interact at least with the given
|
||||
number of (different) shapes from the other layer. If a min and max count is given, shapes from
|
||||
self are selected only if they interact with min_count or more, but a maximum of max_count different shapes
|
||||
from the other layer. Two polygons overlapping or touching at two locations are counted as single interactions.
|
||||
</p><p>
|
||||
<table>
|
||||
<tr>
|
||||
<td><img src="/images/drc_interacting2.png"/></td>
|
||||
<td><img src="/images/drc_interacting3.png"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="/images/drc_interacting4.png"/></td>
|
||||
<td><img src="/images/drc_interacting5.png"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</p>
|
||||
<a name="intersections"/><h2>"intersections" - Returns the intersection points of intersecting edge segments for two edge collections</h2>
|
||||
<keyword name="intersections"/>
|
||||
<p>Usage:</p>
|
||||
|
|
|
|||
|
|
@ -419,18 +419,20 @@ output(w, "width violations")</pre>
|
|||
<a href="/about/drc_ref_layer.xml#merged">merged</a>
|
||||
</li>
|
||||
<li>Shape selections:<br/>
|
||||
<a href="/about/drc_ref_layer.xml#covering">covering</a>,
|
||||
<a href="/about/drc_ref_layer.xml#in">in</a>,
|
||||
<a href="/about/drc_ref_layer.xml#inside">inside</a>,
|
||||
<a href="/about/drc_ref_layer.xml#interacting">interacting</a>,
|
||||
<a href="/about/drc_ref_layer.xml#pull_interacting">pull_interacting</a>,
|
||||
<a href="/about/drc_ref_layer.xml#outside">outside</a>,
|
||||
<a href="/about/drc_ref_layer.xml#touching">touching</a>,
|
||||
<a href="/about/drc_ref_layer.xml#overlapping">overlapping</a><br/>
|
||||
<a href="/about/drc_ref_layer.xml#pull_inside">pull_inside</a>,
|
||||
<a href="/about/drc_ref_layer.xml#pull_interacting">pull_interacting</a>,
|
||||
<a href="/about/drc_ref_layer.xml#pull_outside">pull_outside</a>,
|
||||
These methods are available as in-place operations as well:<br/>
|
||||
<a href="/about/drc_ref_layer.xml#select_covering">select_covering</a>,
|
||||
<a href="/about/drc_ref_layer.xml#select_interacting">select_interacting</a>,
|
||||
<a href="/about/drc_ref_layer.xml#select_inside">select_inside</a>,
|
||||
<a href="/about/drc_ref_layer.xml#select_outside">select_outside</a>,
|
||||
<a href="/about/drc_ref_layer.xml#select_touching">select_touching</a>,
|
||||
<a href="/about/drc_ref_layer.xml#select_overlapping">select_overlapping</a>
|
||||
</li>
|
||||
<li>Filters:<br/>
|
||||
|
|
|
|||
|
|
@ -1917,7 +1917,6 @@ CODE
|
|||
select_not_overlapping
|
||||
select_outside
|
||||
select_overlapping
|
||||
select_touching
|
||||
size
|
||||
sized
|
||||
smoothed
|
||||
|
|
|
|||
Loading…
Reference in New Issue