crop_contours_xldcrop_contours_xldCropContoursXldCropContoursXld (Operator)
Name
crop_contours_xldcrop_contours_xldCropContoursXldCropContoursXld — Beschneiden von XLD-Konturen.
Signatur
Herror crop_contours_xld(const Hobject Contours, Hobject* CroppedContours, double Row1, double Col1, double Row2, double Col2, const char* CloseContours)
Herror T_crop_contours_xld(const Hobject Contours, Hobject* CroppedContours, const Htuple Row1, const Htuple Col1, const Htuple Row2, const Htuple Col2, const Htuple CloseContours)
void CropContoursXld(const HObject& Contours, HObject* CroppedContours, const HTuple& Row1, const HTuple& Col1, const HTuple& Row2, const HTuple& Col2, const HTuple& CloseContours)
HXLDCont HXLDCont::CropContoursXld(const HTuple& Row1, const HTuple& Col1, const HTuple& Row2, const HTuple& Col2, const HString& CloseContours) const
HXLDCont HXLDCont::CropContoursXld(double Row1, double Col1, double Row2, double Col2, const HString& CloseContours) const
HXLDCont HXLDCont::CropContoursXld(double Row1, double Col1, double Row2, double Col2, const char* CloseContours) const
HXLDCont HXLDCont::CropContoursXld(double Row1, double Col1, double Row2, double Col2, const wchar_t* CloseContours) const
(Nur Windows)
static void HOperatorSet.CropContoursXld(HObject contours, out HObject croppedContours, HTuple row1, HTuple col1, HTuple row2, HTuple col2, HTuple closeContours)
HXLDCont HXLDCont.CropContoursXld(HTuple row1, HTuple col1, HTuple row2, HTuple col2, string closeContours)
HXLDCont HXLDCont.CropContoursXld(double row1, double col1, double row2, double col2, string closeContours)
Beschreibung
crop_contours_xldcrop_contours_xldCropContoursXldCropContoursXldCropContoursXld beschneidet die XLD-Konturen die in
ContoursContoursContoursContourscontours übergeben werden. Es werden also nur Kontur-Segmente
zurückgeliefert, die sich innerhalb des Rechtecks befinden, das durch die
Eckpunkte Row1Row1Row1Row1row1, Col1Col1Col1Col1col1, Row2Row2Row2Row2row2 und
Col2Col2Col2Col2col2 gegeben ist. Während clip_contours_xldclip_contours_xldClipContoursXldClipContoursXldClipContoursXld alle
Segmente weglässt, die den Rand des einschränkenden Rechtecks kreuzen
werden diese hier genau an der Stelle abgeschnitten, an der sie eine
Grenzlinie überschreiten.
Falls notwendig werden aus einer Ausgangskontur mehrere neue Konturen
erzeugt. Aus geschlossenen Konturen können mit Hilfe des Parameters
CloseContoursCloseContoursCloseContoursCloseContourscloseContours wieder geschlossene Konturen erzeugt werden. Wird
CloseContoursCloseContoursCloseContoursCloseContourscloseContours auf 'true'"true""true""true""true" gesetzt, so wird eine
geschlossene Kontur in eine oder mehrere neue Konturen überführt, die
über neue Segmente auf dem Rand des einschränkenden Rechtecks geschlossen
sind. Ist der Wert 'false'"false""false""false""false", so endet jede Kontur an dem Punkt an
dem sie den Bereich des Rechtecks verlässt.
Die beschnittenen Konturen werden in CroppedContoursCroppedContoursCroppedContoursCroppedContourscroppedContours
zurückgegeben.
Ausführungsinformationen
- Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
- Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
- Automatisch parallelisiert auf Tupelebene.
Parameter
ContoursContoursContoursContourscontours (input_object) xld_cont(-array) → objectHXLDContHXLDContHobject
Eingabekonturen.
CroppedContoursCroppedContoursCroppedContoursCroppedContourscroppedContours (output_object) xld_cont(-array) → objectHXLDContHXLDContHobject *
Ergebniskonturen.
Row1Row1Row1Row1row1 (input_control) number → HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Oberkante des beschränkenden Rechtecks.
Defaultwert: 0
Wertevorschläge: 0, 500, 1000, 1500, 2000
Col1Col1Col1Col1col1 (input_control) number → HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Linke Kante des beschränkenden Rechtecks.
Defaultwert: 0
Wertevorschläge: 0, 500, 1000, 1500, 2000
Row2Row2Row2Row2row2 (input_control) number → HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Unterkante des beschränkenden Rechtecks.
Defaultwert: 512
Wertevorschläge: 512, 1024, 1536, 2048
Col2Col2Col2Col2col2 (input_control) number → HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Rechte Kante des beschränkenden Rechtecks.
Defaultwert: 512
Wertevorschläge: 512, 1024, 1536, 2048
CloseContoursCloseContoursCloseContoursCloseContourscloseContours (input_control) string → HTupleHTupleHtuple (string) (string) (HString) (char*)
Sollen geschlossene Konturen wieder geschlossene
Konturen erzeugen?
Defaultwert:
'true'
"true"
"true"
"true"
"true"
Werteliste: 'false'"false""false""false""false", 'true'"true""true""true""true"
Alternativen
clip_contours_xldclip_contours_xldClipContoursXldClipContoursXldClipContoursXld
Siehe auch
clip_regionclip_regionClipRegionClipRegionClipRegion,
crop_partcrop_partCropPartCropPartCropPart,
clip_contours_xldclip_contours_xldClipContoursXldClipContoursXldClipContoursXld
Modul
Foundation