Name
gen_region_polygonT_gen_region_polygonGenRegionPolygongen_region_polygonGenRegionPolygonGenRegionPolygon — Abspeichern eines Polygons als Region.
Herror T_gen_region_polygon(Hobject* Region, const Htuple Rows, const Htuple Columns)
gen_region_polygongen_region_polygonGenRegionPolygongen_region_polygonGenRegionPolygonGenRegionPolygon erzeugt eine Region aus einem Polygonzug,
der durch eine
Folge von Zeilen- und Spaltenkoordinaten beschrieben wird. Die erzeugte
Region
besteht aus den Punkten der dadurch definierten Strecken, wobei zwischen
den Stützpunkten linear interpoliert wird.
Die Region wird nicht automatisch geschlossen und nicht „aufgefüllt“.
- Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
- Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
- Automatisch parallelisiert auf interner Datenebene.
Zeilenindizes der Stützpunkte der Regionenkontur.
Defaultwert: 100
Wertevorschläge: 0, 10, 30, 50, 100, 200, 300, 500
Typischer Wertebereich:
Rows
Rows
Rows
Rows
Rows
rows
(lin)
Minimale Schrittweite: 1
Empfohlene Schrittweite: 1
Spaltenindizes der Stützpunkte der Regionenkontur.
Parameteranzahl: Columns == Rows
Defaultwert: 100
Wertevorschläge: 0, 10, 30, 50, 100, 200, 300, 500
Typischer Wertebereich:
Columns
Columns
Columns
Columns
Columns
columns
(lin)
Minimale Schrittweite: 1
Empfohlene Schrittweite: 1
* Polygon-approximation
get_region_polygon(Region,7,Row,Column)
* store it as a region
gen_region_polygon(Pol,Row,Column)
* fill up the hole
fill_up(Pol,Filled)
/* Polygon-approximation */
T_get_region_polygon(Region,7,&Row,&Column);
/* store it as a region */
T_gen_region_polygon(&Pol,Row,Column);
destroy_tuple(Row);
destroy_tuple(Column);
/* fill up the hole */
fill_up(Pol,&Filled);
* Polygon-approximation
get_region_polygon(Region,7,Row,Column)
* store it as a region
gen_region_polygon(Pol,Row,Column)
* fill up the hole
fill_up(Pol,Filled)
* Polygon-approximation
get_region_polygon(Region,7,Row,Column)
* store it as a region
gen_region_polygon(Pol,Row,Column)
* fill up the hole
fill_up(Pol,Filled)
* Polygon-approximation
get_region_polygon(Region,7,Row,Column)
* store it as a region
gen_region_polygon(Pol,Row,Column)
* fill up the hole
fill_up(Pol,Filled)
* Polygon-approximation
get_region_polygon(Region,7,Row,Column)
* store it as a region
gen_region_polygon(Pol,Row,Column)
* fill up the hole
fill_up(Pol,Filled)
Falls die Stützpunkte korrekt sind,
liefert gen_region_polygongen_region_polygonGenRegionPolygongen_region_polygonGenRegionPolygonGenRegionPolygon den Wert 2 (H_MSG_TRUE).
Andernfalls wird eine Fehlerbehandlung durchgeführt.
Das Clipping am aktuellen Bildformat wird durch
set_system('clip_region',<'true'/'false'>)set_system("clip_region",<"true"/"false">)SetSystem("clip_region",<"true"/"false">)set_system("clip_region",<"true"/"false">)SetSystem("clip_region",<"true"/"false">)SetSystem("clip_region",<"true"/"false">) festgelegt.
Wird eine leere Region erzeugt (durch das Clipping oder eine leere
Eingabe), dann legt
set_system('store_empty_region',<'true'/'false'>)set_system("store_empty_region",<"true"/"false">)SetSystem("store_empty_region",<"true"/"false">)set_system("store_empty_region",<"true"/"false">)SetSystem("store_empty_region",<"true"/"false">)SetSystem("store_empty_region",<"true"/"false">) fest,
ob die Region ausgegeben wird.
get_region_polygonget_region_polygonGetRegionPolygonget_region_polygonGetRegionPolygonGetRegionPolygon,
draw_polygondraw_polygonDrawPolygondraw_polygonDrawPolygonDrawPolygon
gen_region_polygon_filledgen_region_polygon_filledGenRegionPolygonFilledgen_region_polygon_filledGenRegionPolygonFilledGenRegionPolygonFilled,
gen_region_pointsgen_region_pointsGenRegionPointsgen_region_pointsGenRegionPointsGenRegionPoints,
gen_region_runsgen_region_runsGenRegionRunsgen_region_runsGenRegionRunsGenRegionRuns
fill_upfill_upFillUpfill_upFillUpFillUp,
reduce_domainreduce_domainReduceDomainreduce_domainReduceDomainReduceDomain,
get_region_polygonget_region_polygonGetRegionPolygonget_region_polygonGetRegionPolygonGetRegionPolygon,
draw_polygondraw_polygonDrawPolygondraw_polygonDrawPolygonDrawPolygon
Foundation