crop_contours_xldcrop_contours_xldCropContoursXldCropContoursXldcrop_contours_xld (Operator)

Name

crop_contours_xldcrop_contours_xldCropContoursXldCropContoursXldcrop_contours_xld — Beschneiden von XLD-Konturen.

Signatur

crop_contours_xld(Contours : CroppedContours : Row1, Col1, Row2, Col2, CloseContours : )

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)

def crop_contours_xld(contours: HObject, row_1: Union[float, int], col_1: Union[float, int], row_2: Union[float, int], col_2: Union[float, int], close_contours: str) -> HObject

Beschreibung

crop_contours_xldcrop_contours_xldCropContoursXldCropContoursXldCropContoursXldcrop_contours_xld beschneidet die XLD-Konturen die in ContoursContoursContoursContourscontourscontours übergeben werden. Es werden also nur Kontur-Segmente zurückgeliefert, die sich innerhalb des Rechtecks befinden, das durch die Eckpunkte Row1Row1Row1Row1row1row_1, Col1Col1Col1Col1col1col_1, Row2Row2Row2Row2row2row_2 und Col2Col2Col2Col2col2col_2 gegeben ist. Während clip_contours_xldclip_contours_xldClipContoursXldClipContoursXldClipContoursXldclip_contours_xld 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 CloseContoursCloseContoursCloseContoursCloseContourscloseContoursclose_contours wieder geschlossene Konturen erzeugt werden. Wird CloseContoursCloseContoursCloseContoursCloseContourscloseContoursclose_contours auf 'true'"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""false", so endet jede Kontur an dem Punkt an dem sie den Bereich des Rechtecks verlässt. Die beschnittenen Konturen werden in CroppedContoursCroppedContoursCroppedContoursCroppedContourscroppedContourscropped_contours zurückgegeben.

Ausführungsinformationen

Parameter

ContoursContoursContoursContourscontourscontours (input_object)  xld_cont(-array) objectHXLDContHObjectHXLDContHobject

Eingabekonturen.

CroppedContoursCroppedContoursCroppedContoursCroppedContourscroppedContourscropped_contours (output_object)  xld_cont(-array) objectHXLDContHObjectHXLDContHobject *

Ergebniskonturen.

Row1Row1Row1Row1row1row_1 (input_control)  number HTupleUnion[float, int]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Oberkante des beschränkenden Rechtecks.

Defaultwert: 0

Wertevorschläge: 0, 500, 1000, 1500, 2000

Col1Col1Col1Col1col1col_1 (input_control)  number HTupleUnion[float, int]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Linke Kante des beschränkenden Rechtecks.

Defaultwert: 0

Wertevorschläge: 0, 500, 1000, 1500, 2000

Row2Row2Row2Row2row2row_2 (input_control)  number HTupleUnion[float, int]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Unterkante des beschränkenden Rechtecks.

Defaultwert: 512

Wertevorschläge: 512, 1024, 1536, 2048

Col2Col2Col2Col2col2col_2 (input_control)  number HTupleUnion[float, int]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Rechte Kante des beschränkenden Rechtecks.

Defaultwert: 512

Wertevorschläge: 512, 1024, 1536, 2048

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

Sollen geschlossene Konturen wieder geschlossene Konturen erzeugen?

Defaultwert: 'true' "true" "true" "true" "true" "true"

Werteliste: 'false'"false""false""false""false""false", 'true'"true""true""true""true""true"

Alternativen

clip_contours_xldclip_contours_xldClipContoursXldClipContoursXldClipContoursXldclip_contours_xld

Siehe auch

clip_regionclip_regionClipRegionClipRegionClipRegionclip_region, crop_partcrop_partCropPartCropPartCropPartcrop_part, clip_contours_xldclip_contours_xldClipContoursXldClipContoursXldClipContoursXldclip_contours_xld

Modul

Foundation