From eb6369f90f32a4c814e6df8f6ebad395f6da8e52 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sun, 7 Sep 2025 00:31:08 +0200 Subject: [PATCH] Updated doc --- src/db/db/gsiDeclDbCell.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/db/db/gsiDeclDbCell.cc b/src/db/db/gsiDeclDbCell.cc index 44731b59f..52543c93b 100644 --- a/src/db/db/gsiDeclDbCell.cc +++ b/src/db/db/gsiDeclDbCell.cc @@ -2249,8 +2249,11 @@ Class decl_Cell ("db", "Cell", "If the 'remaining_polygons' argument is non-nil, the corresponding region will receive all polygons from the input region " "which could not be filled and where there is no chance of filling because not a single tile will fit into them.\n" "\n" - "'remaining_parts' and 'remaining_polygons' can be identical with the input. In that case the input will be overwritten with " + "'remaining_parts' and 'remaining_polygons' can point to the same Region object.\n"" + "They can also be identical with the input. In that case the input will be overwritten with " "the respective output. Otherwise, the respective polygons are added to these regions.\n" + "'remaining_polygons' is not used if 'exclude_area' is present and non-empty. In that case, the\n" + "original polygons, which cannot be filled at all, are copied to 'remaining_parts'.\n" "\n" "This allows setting up a more elaborate fill scheme using multiple iterations and local origin-optimization ('origin' is nil):\n" "\n" @@ -2263,7 +2266,7 @@ Class decl_Cell ("db", "Cell", "fill_margin = RBA::Point::new(0, 0) # x/y distance between tile cells with different origin\n" "\n" "# Iteration: fill a region and fill the remaining parts as long as there is anything left.\n" - "# Polygons not worth being considered further are dropped (last argument is nil).\n" + "# Polygons not worth being considered further are dropped ('remaining_polygons' argument is nil).\n" "while !r.is_empty?\n" " c.fill_region(r, fc_index, fc_box, nil, r, fill_margin, nil)\n" "end\n"