ClassesClassesClassesClasses | | | | Operators

gen_region_polygon_xldgen_region_polygon_xldGenRegionPolygonXldgen_region_polygon_xldGenRegionPolygonXldGenRegionPolygonXld (Operator)

Name

gen_region_polygon_xldgen_region_polygon_xldGenRegionPolygonXldgen_region_polygon_xldGenRegionPolygonXldGenRegionPolygonXld — Create a region from an XLD polygon.

Signature

gen_region_polygon_xld(Polygon : Region : Mode : )

Herror gen_region_polygon_xld(const Hobject Polygon, Hobject* Region, const char* Mode)

Herror T_gen_region_polygon_xld(const Hobject Polygon, Hobject* Region, const Htuple Mode)

Herror gen_region_polygon_xld(Hobject Polygon, Hobject* Region, const HTuple& Mode)

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

HRegionArray HXLDPolyArray::GenRegionPolygonXld(const HTuple& Mode) const

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

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

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

void HOperatorSetX.GenRegionPolygonXld(
[in] IHUntypedObjectX* Polygon, [out] IHUntypedObjectX*Region, [in] VARIANT Mode)

IHRegionX* HXLDPolyX.GenRegionPolygonXld([in] BSTR Mode)

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

HRegion HXLDPoly.GenRegionPolygonXld(string mode)

Description

gen_region_polygon_xldgen_region_polygon_xldGenRegionPolygonXldgen_region_polygon_xldGenRegionPolygonXldGenRegionPolygonXld creates a region RegionRegionRegionRegionRegionregion 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_systemSetSystemset_systemSetSystemSetSystem. 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").

Parallelization

Parameters

PolygonPolygonPolygonPolygonPolygonpolygon (input_object)  xld_poly(-array) objectHXLDPolyHXLDPolyHXLDPolyHXLDPolyXHobject

Input polygon(s).

RegionRegionRegionRegionRegionregion (output_object)  region(-array) objectHRegionHRegionHRegionHRegionXHobject *

Created region(s).

ModeModeModeModeModemode (input_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Fill mode of the region(s).

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

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

Possible Predecessors

gen_polygons_xldgen_polygons_xldGenPolygonsXldgen_polygons_xldGenPolygonsXldGenPolygonsXld

Alternatives

gen_region_polygongen_region_polygonGenRegionPolygongen_region_polygonGenRegionPolygonGenRegionPolygon, gen_region_contour_xldgen_region_contour_xldGenRegionContourXldgen_region_contour_xldGenRegionContourXldGenRegionContourXld

See also

set_systemset_systemSetSystemset_systemSetSystemSetSystem

Module

Foundation


ClassesClassesClassesClasses | | | | Operators