Update DRC documentation for #1816 implementation

This commit is contained in:
Matthias Koefferlein 2024-08-04 21:18:23 +02:00
parent 35219469d6
commit 817f00e9ba
1 changed files with 25 additions and 17 deletions

View File

@ -2283,13 +2283,17 @@ CODE
# %DRC%
# @name inside
# @brief Selects edges or polygons of self which are inside edges or polygons from the other layer
# @brief Selects edges, edge pairs or polygons of self which are inside edges or polygons from the other layer
# @synopsis layer.inside(other)
#
# If layer is a polygon layer, the other layer needs to be a polygon layer too.
# In this case, this method selects all polygons which are completely inside
# polygons from the other layer.
#
# If layer is an edge pair layer, the other layer needs to be a polygon layer.
# In this case, this method selects all edge pairs which are completely inside
# polygons from the other layer.
#
# If layer is an edge layer, the other layer can be polygon or edge layer. In the
# first case, all edges completely inside the polygons from the other layer are
# selected. If the other layer is an edge layer, all edges completely contained
@ -2329,10 +2333,10 @@ CODE
# %DRC%
# @name not_inside
# @brief Selects edges or polygons of self which are not inside edges or polygons from the other layer
# @brief Selects edges, edge pairs or polygons of self which are not inside edges or polygons from the other layer
# @synopsis layer.not_inside(other)
#
# This method computes the inverse of \inside - i.e. edges or polygons from the layer
# This method computes the inverse of \inside - i.e. edge, edge pairs or polygons from the layer
# not being inside polygons or edges from the other layer.
#
# This method returns a new layer containing the selected shapes. A version which modifies self
@ -2370,7 +2374,7 @@ CODE
# @brief Returns the results of \inside and \not_inside at the same time
# @synopsis (a, b) = layer.split_inside(other)
#
# This method returns the polygons or edges inside of polygons or edges from the other layer in
# This method returns the polygons, edge pairs or edges inside of polygons or edges from the other layer in
# one layer and all others in a second layer. This method is equivalent to calling
# \inside and \not_inside, but is faster than doing this in separate steps:
#
@ -2380,7 +2384,7 @@ CODE
# %DRC%
# @name select_inside
# @brief Selects edges or polygons of self which are inside edges or polygons from the other layer
# @brief Selects edges, edge pairs or polygons of self which are inside edges or polygons from the other layer
# @synopsis layer.select_inside(other)
#
# This method is the in-place version of \inside - i.e. it modifies the layer instead
@ -2388,7 +2392,7 @@ CODE
# %DRC%
# @name select_not_inside
# @brief Selects edges or polygons of self which are not inside edges or polygons from the other layer
# @brief Selects edges, edge pairs or polygons of self which are not inside edges or polygons from the other layer
# @synopsis layer.select_not_inside(other)
#
# This method is the in-place version of \inside - i.e. it modifies the layer instead
@ -2396,13 +2400,17 @@ CODE
# %DRC%
# @name outside
# @brief Selects edges or polygons of self which are outside edges or polygons from the other layer
# @brief Selects edges, edge pairs or polygons of self which are outside edges or polygons from the other layer
# @synopsis layer.outside(other)
#
# If layer is a polygon layer, the other layer needs to be a polygon layer too.
# In this case, this method selects all polygons which are entirely outside
# polygons from the other layer.
#
# If layer is an edge pair layer, the other layer needs to be a polygon layer.
# In this case, this method selects all edge pairs which are entirely outside
# polygons from the other layer.
#
# If layer is an edge layer, the other layer can be polygon or edge layer. In the
# first case, all edges entirely outside the polygons from the other layer are
# selected. If the other layer is an edge layer, all edges entirely outside
@ -2442,10 +2450,10 @@ CODE
# %DRC%
# @name not_outside
# @brief Selects edges or polygons of self which are not outside edges or polygons from the other layer
# @brief Selects edges, edge pairs or polygons of self which are not outside edges or polygons from the other layer
# @synopsis layer.not_outside(other)
#
# This method computes the inverse of \outside - i.e. edges or polygons from the layer
# This method computes the inverse of \outside - i.e. edges, edge pairs or polygons from the layer
# not being outside polygons or edges from the other layer.
#
# This method returns a new layer containing the selected shapes. A version which modifies self
@ -2483,7 +2491,7 @@ CODE
# @brief Returns the results of \outside and \not_outside at the same time
# @synopsis (a, b) = layer.split_outside(other)
#
# This method returns the polygons or edges outside of polygons or edges from the other layer in
# This method returns the polygons, edge pairs or edges outside of polygons or edges from the other layer in
# one layer and all others in a second layer. This method is equivalent to calling
# \outside and \not_outside, but is faster than doing this in separate steps:
#
@ -2493,7 +2501,7 @@ CODE
# %DRC%
# @name select_outside
# @brief Selects edges or polygons of self which are outside edges or polygons from the other layer
# @brief Selects edges, edge pairs or polygons of self which are outside edges or polygons from the other layer
# @synopsis layer.select_outside(other)
#
# This method is the in-place version of \outside - i.e. it modifies the layer instead
@ -2501,7 +2509,7 @@ CODE
# %DRC%
# @name select_not_outside
# @brief Selects edges or polygons of self which are not outside edges or polygons from the other layer
# @brief Selects edges, edge pairs or polygons of self which are not outside edges or polygons from the other layer
# @synopsis layer.select_not_outside(other)
#
# This method is the in-place version of \outside - i.e. it modifies the layer instead
@ -2571,7 +2579,7 @@ CODE
# 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
# This method is available for polygon, text, edge and edge pair layers. Edges and edge pairs 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.
#
@ -2612,7 +2620,7 @@ CODE
# It returns a new layer containing the selected shapes. A version which modifies self
# is \select_not_interacting.
#
# This method is available for polygon, text and edge layers. Edges can be selected
# This method is available for polygon, text, edge and edge pair layers. Edges and edge pairs 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.
#
@ -2668,7 +2676,7 @@ CODE
# It modifies self to contain the selected shapes. A version which does not modify self
# is \interacting.
#
# This method is available for polygon, text and edge layers. Edges can be selected
# This method is available for polygon, text, edge and edge pair layers. Edges and edge pairs 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.
#
@ -2690,7 +2698,7 @@ CODE
# It modifies self to contain the selected shapes. A version which does not modify self
# is \not_interacting.
#
# This method is available for polygon, text and edge layers. Edges can be selected
# This method is available for polygon, text, edge and edge pair layers. Edges or edge pairs 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.
#
@ -2772,7 +2780,7 @@ CODE
#
# This method will neither modify self nor other.
#
# This method is available for polygon, edge and text layers, similar to interacting.
# This method is available for polygon, edge, edge pair and text layers, similar to interacting.
# %DRC%
# @name pull_overlapping