From 88e960b7cfc986a5753cce326da17f959fee0617 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Fri, 9 Dec 2022 22:31:13 +0100 Subject: [PATCH] Regenerating doc. --- src/doc/doc/about/drc_ref_layer.xml | 72 +++++++++++++--------- src/doc/doc/manual/drc_runsets.xml | 8 ++- src/drc/drc/built-in-macros/_drc_engine.rb | 1 - 3 files changed, 49 insertions(+), 32 deletions(-) diff --git a/src/doc/doc/about/drc_ref_layer.xml b/src/doc/doc/about/drc_ref_layer.xml index 10321b4c6..b38c0543a 100644 --- a/src/doc/doc/about/drc_ref_layer.xml +++ b/src/doc/doc/about/drc_ref_layer.xml @@ -1351,34 +1351,6 @@ The following image shows the effect of the "in" method (input1: red, input2: bl

This method is equivalent to calling in and not_in, but more efficient as it delivers both results in a single call. -

-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. -

-The following image shows the effect of the "interacting" method (input1: red, input2: blue): -

- - - - -
-

-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. -

- - - - - - - - - -

"insert" - Inserts one or many objects into the layer

@@ -1486,6 +1458,50 @@ method computing both inside and outside part in a single call.

+

"interacting" - Selects shapes or regions of self which touch or overlap shapes from the other region

+ +

Usage:

+
    +
  • layer.interacting(other)
  • +
  • layer.interacting(other, min_count)
  • +
  • layer.interacting(other, min_count, max_count)
  • +
  • layer.interacting(other, min_count .. max_count)
  • +
+

+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 raw), 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 select_interacting. +

+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. +

+The following image shows the effect of the "interacting" method (input1: red, input2: blue): +

+ + + + +
+

+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. +

+ + + + + + + + + +
+

"intersections" - Returns the intersection points of intersecting edge segments for two edge collections

Usage:

diff --git a/src/doc/doc/manual/drc_runsets.xml b/src/doc/doc/manual/drc_runsets.xml index 64b5422e8..cd37d3e2b 100644 --- a/src/doc/doc/manual/drc_runsets.xml +++ b/src/doc/doc/manual/drc_runsets.xml @@ -419,18 +419,20 @@ output(w, "width violations")
merged
  • Shape selections:
    + covering, in, inside, interacting, - pull_interacting, outside, - touching, overlapping
    + pull_inside, + pull_interacting, + pull_outside, These methods are available as in-place operations as well:
    + select_covering, select_interacting, select_inside, select_outside, - select_touching, select_overlapping
  • Filters:
    diff --git a/src/drc/drc/built-in-macros/_drc_engine.rb b/src/drc/drc/built-in-macros/_drc_engine.rb index 9a873be62..b4b850407 100644 --- a/src/drc/drc/built-in-macros/_drc_engine.rb +++ b/src/drc/drc/built-in-macros/_drc_engine.rb @@ -1917,7 +1917,6 @@ CODE select_not_overlapping select_outside select_overlapping - select_touching size sized smoothed