mirror of https://github.com/KLayout/klayout.git
Updated doc
This commit is contained in:
parent
7997d1375c
commit
eb6369f90f
|
|
@ -2249,8 +2249,11 @@ Class<db::Cell> 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<db::Cell> 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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue