gen_region_polygon_xldgen_region_polygon_xldGenRegionPolygonXldGenRegionPolygonXldgen_region_polygon_xld (算子名称)

名称

gen_region_polygon_xldgen_region_polygon_xldGenRegionPolygonXldGenRegionPolygonXldgen_region_polygon_xld — Create a region from an XLD polygon.

参数签名

gen_region_polygon_xld(Polygon : 区域 : Mode : )

Herror gen_region_polygon_xld(const Hobject Polygon, Hobject* 区域, const char* Mode)

Herror T_gen_region_polygon_xld(const Hobject Polygon, Hobject* 区域, const Htuple Mode)

void GenRegionPolygonXld(const HObject& Polygon, HObject* 区域, const HTuple& Mode)

HRegion HXLDPoly::GenRegionPolygonXld(const HString& Mode) const

HRegion HXLDPoly::GenRegionPolygonXld(const char* Mode) const

HRegion HXLDPoly::GenRegionPolygonXld(const wchar_t* Mode) const   ( Windows only)

static void HOperatorSet.GenRegionPolygonXld(HObject polygon, out HObject 区域, HTuple mode)

HRegion HXLDPoly.GenRegionPolygonXld(string mode)

def gen_region_polygon_xld(polygon: HObject, mode: str) -> HObject

描述

gen_region_polygon_xldgen_region_polygon_xldGenRegionPolygonXldGenRegionPolygonXldGenRegionPolygonXldgen_region_polygon_xld creates a region 区域区域区域区域区域区域 from a subpixel XLD polygon PolygonPolygonPolygonPolygonpolygonpolygon. The polygon is sampled according to the Bresenham algorithm and influenced by the parameter 'neighborhood'"neighborhood""neighborhood""neighborhood""neighborhood""neighborhood" of the operator set_systemset_systemSetSystemSetSystemSetSystemset_system. Open polygons are closed before converting them to regions. Finally, the parameter ModeModeModeModemodemode defines whether the region is filled up ('filled'"filled""filled""filled""filled""filled") or returned by its contour ('margin'"margin""margin""margin""margin""margin").

运行信息

参数表

PolygonPolygonPolygonPolygonpolygonpolygon (input_object)  xld_poly(-array) objectHXLDPolyHObjectHXLDPolyHobject

Input polygon(s).

区域区域区域区域区域区域 (output_object)  region(-array) objectHRegionHObjectHRegionHobject *

Created region(s).

ModeModeModeModemodemode (input_control)  string HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Fill mode of the region(s).

Default: 'filled' "filled" "filled" "filled" "filled" "filled"

Suggested values: 'filled'"filled""filled""filled""filled""filled", 'margin'"margin""margin""margin""margin""margin"

可能的前置算子

gen_polygons_xldgen_polygons_xldGenPolygonsXldGenPolygonsXldGenPolygonsXldgen_polygons_xld

可替代算子

gen_region_polygongen_region_polygonGenRegionPolygonGenRegionPolygonGenRegionPolygongen_region_polygon, gen_region_contour_xldgen_region_contour_xldGenRegionContourXldGenRegionContourXldGenRegionContourXldgen_region_contour_xld

参考其它

set_systemset_systemSetSystemSetSystemSetSystemset_system

模块

Foundation