diff --git a/src/drc/drc/built-in-macros/_drc_complex_ops.rb b/src/drc/drc/built-in-macros/_drc_complex_ops.rb index 30eb64908..59a9046e4 100644 --- a/src/drc/drc/built-in-macros/_drc_complex_ops.rb +++ b/src/drc/drc/built-in-macros/_drc_complex_ops.rb @@ -313,7 +313,7 @@ class DRCOpNode # first argument. This will not render the desired results. # Remember that the "drc" function will walk over all primary # shapes and present single primaries to the NOT operation together - # the the secondaries of that single shape. So when you use + # with the secondaries of that single shape. So when you use # secondary shapes as the first argument, they will not see all # all the primaries required to compute the correct result. # That's also why a XOR operation cannot be provided in the @@ -692,7 +692,7 @@ CODE # # For this measurement edges are considered without their direction and straight lines. # A horizontal edge has an angle of zero degree. A vertical one has - # an angle of 90 degee. The angle range is from -90 (exclusive) to 90 degree (inclusive). + # an angle of 90 degrees. The angle range is from -90 (exclusive) to 90 degree (inclusive). # # If the input shapes are not polygons or edge pairs, they are converted to edges # before the angle test is made. @@ -706,7 +706,7 @@ CODE # @/code # # Note that angle checks usually imply the need to rotation variant formation as cells which - # are placed unrotated and rotated by 90 degree cannot be considered identical. This imposes + # are placed non-rotated and rotated by 90 degree cannot be considered identical. This imposes # a performance penalty in hierarchical mode. If possible, consider using \DRC#rectilinear for # example to detect shapes with non-manhattan geometry instead of using angle checks. # @@ -722,7 +722,7 @@ CODE # @brief Applies corner rounding # @synopsis expression.rounded_corners(inner, outer, n) # - # This operation acts on polygons and applies corner rounding the the given inner + # This operation acts on polygons and applies corner rounding to the given inner # and outer corner radius and the number of points n per full circle. See \Layer#rounded_corners for more details. # # The "rounded_corners" method is available as a plain function or as a method on \DRC# expressions. @@ -806,7 +806,7 @@ CODE # %DRC% # @name extent_refs - # @brief Returns partial references to the boundings boxes of the polygons + # @brief Returns partial references to the bounding boxes of the polygons # @synopsis expression.extent_refs([ options ]) # # The extent_refs operation acts on polygons and has the same effect than \Layer#extent_refs. diff --git a/src/drc/drc/built-in-macros/_drc_cop_integration.rb b/src/drc/drc/built-in-macros/_drc_cop_integration.rb index c596e0cde..0b17df957 100644 --- a/src/drc/drc/built-in-macros/_drc_cop_integration.rb +++ b/src/drc/drc/built-in-macros/_drc_cop_integration.rb @@ -22,7 +22,7 @@ module DRC # within the DRC. # # When the DRC function is executed, it will basically visit all shapes - # from the input layer. This is the layer, the "drc" method is called on. + # from the input layer (the layer, the "drc" method is called on)). # While it does, it collects the neighbor shapes from all involved other inputs # and runs the requested operations on each cluster. # Currently, "drc" is only available for polygon layers. @@ -34,10 +34,10 @@ module DRC # but involves potentially complex and heavy operations such as booleans, interact # etc. For this reason, the "drc" function may provide a better performance. # - # In addition, within the loop a single shape from the input layer is presented to + # In addition, within the loop a single shape from the input layer is presented to the # execution engine which runs the operations. # This allows using operations such as "size" without having to consider - # neigbor polygons growing into the area of the initial shape. In this sense, + # neighbor polygons growing into the area of the initial shape. In this sense, # the "drc" function sees the layer as individual polygons rather than # a global "sea of polygons". This enables new applications which are otherwise # difficult to implement. @@ -258,7 +258,7 @@ module DRC # ("if_all"). # # For example, this will select all polygons which are rectangles - # and whose area is larger than 20 quare micrometers: + # and whose area is larger than 20 square micrometers: # # @code # out = in.drc(if_all(rectangles, area > 20.0)) @@ -795,7 +795,7 @@ CODE # small (2x2 DBU) box markers. # # The "corners" operator can be put into a condition which means it's - # applied to coners meeting a particular angle constraint. + # applied to corners meeting a particular angle constraint. def _cop_corners(as_dots = DRCAsDots::new(false)) # NOTE: this method is a fallback for the respective global ones which route to DRCLayer or here.