Create a region from an XLD polygon.
gen_region_polygon_xld creates a region Region from a subpixel XLD polygon Polygon. The polygon is sampled according to the Bresenham algorithm and influenced by the parameter neighborhood of the operator set_system. Open polygons are closed before converting them to regions. Finally, the parameter Mode defines whether the region is filled up (filled) or returned by its contour (margin).
|
Polygon (input_object) |
xld_poly -> object |
| Input polygon. | |
|
Region (output_object) |
region -> object |
| Created region. | |
|
Mode (input_control) |
string -> string |
| Fill mode of the region. | |
| Default value: 'filled' | |
| Suggested values: 'filled', 'margin' | |
gen_region_polygon_xld is reentrant and processed without parallelization.
gen_region_polygon, gen_region_contour_xld
Foundation