intersection_segment_contour_xldintersection_segment_contour_xldIntersectionSegmentContourXldIntersectionSegmentContourXld (Operator)
Name
intersection_segment_contour_xldintersection_segment_contour_xldIntersectionSegmentContourXldIntersectionSegmentContourXld
— Berechnet die Schnittpunkte von einem Geradenabschnitt und einer XLD-Kontur
Signatur
Herror intersection_segment_contour_xld(const Hobject Contour, double SegmentRow1, double SegmentColumn1, double SegmentRow2, double SegmentColumn2, double* Row, double* Column, Hlong* IsOverlapping)
Herror T_intersection_segment_contour_xld(const Hobject Contour, const Htuple SegmentRow1, const Htuple SegmentColumn1, const Htuple SegmentRow2, const Htuple SegmentColumn2, Htuple* Row, Htuple* Column, Htuple* IsOverlapping)
Beschreibung
intersection_segment_contour_xldintersection_segment_contour_xldIntersectionSegmentContourXldIntersectionSegmentContourXldIntersectionSegmentContourXld
berechnet die Schnittpunkte
von einem Geradenabschnitt und einer XLD-Kontur ContourContourContourContourcontour
.
Der Geradenabschnitt wird über dessen Endpunkte
(SegmentRow1SegmentRow1SegmentRow1SegmentRow1segmentRow1
,SegmentColumn1SegmentColumn1SegmentColumn1SegmentColumn1segmentColumn1
) und
(SegmentRow2SegmentRow2SegmentRow2SegmentRow2segmentRow2
,SegmentColumn2SegmentColumn2SegmentColumn2SegmentColumn2segmentColumn2
) definiert.
Die Schnittpunkte, falls vorhanden, werden in (RowRowRowRowrow
,ColumnColumnColumnColumncolumn
)
zurückgegeben.
Liegen ein Teil des Geradenabschnitts und der XLD-Kontur übereinander,
liefert der Parameter IsOverlappingIsOverlappingIsOverlappingIsOverlappingisOverlapping
den Wert 1 zurück, ansonsten wird der Wert 0 zurückgegeben.
In diesem Fall werden die Endpunkte des gemeinsamen Geradenabschnitts als
Schnittpunkte in (RowRowRowRowrow
,ColumnColumnColumnColumncolumn
) zurückgegeben.
Ausführungsinformationen
- Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
- Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
- Wird ohne Parallelisierung verarbeitet.
Parameter
ContourContourContourContourcontour
(input_object) xld_cont →
objectHXLDContHXLDContHobject
XLD-Kontur.
SegmentRow1SegmentRow1SegmentRow1SegmentRow1segmentRow1
(input_control) point.y →
HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Zeilenkoordinate des ersten Punktes
des Geradenabschnitts.
SegmentColumn1SegmentColumn1SegmentColumn1SegmentColumn1segmentColumn1
(input_control) point.x →
HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Spaltenkoordinate des ersten Punktes
des Geradenabschnitts.
SegmentRow2SegmentRow2SegmentRow2SegmentRow2segmentRow2
(input_control) point.y →
HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Zeilenkoordinate des zweiten Punktes
des Geradenabschnitts.
SegmentColumn2SegmentColumn2SegmentColumn2SegmentColumn2segmentColumn2
(input_control) point.x →
HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Spaltenkoordinate des zweiten Punktes
des Geradenabschnitts.
RowRowRowRowrow
(output_control) point.y(-array) →
HTupleHTupleHtuple (real) (double) (double) (double)
Zeilenkoordinaten der Schnittpunkte.
ColumnColumnColumnColumncolumn
(output_control) point.x(-array) →
HTupleHTupleHtuple (real) (double) (double) (double)
Spaltenkoordinaten der Schnittpunkte.
IsOverlappingIsOverlappingIsOverlappingIsOverlappingisOverlapping
(output_control) integer →
HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Sind ein Teil des Geradenabschnitts und der XLD-Kontur
identisch?
Ergebnis
Sind die Parameterwerte korrekt, dann liefert
intersection_segment_contour_xldintersection_segment_contour_xldIntersectionSegmentContourXldIntersectionSegmentContourXldIntersectionSegmentContourXld
den Wert 2 (H_MSG_TRUE).
Alternativen
intersection_segmentsintersection_segmentsIntersectionSegmentsIntersectionSegmentsIntersectionSegments
,
intersection_contours_xldintersection_contours_xldIntersectionContoursXldIntersectionContoursXldIntersectionContoursXld
Siehe auch
intersection_segment_lineintersection_segment_lineIntersectionSegmentLineIntersectionSegmentLineIntersectionSegmentLine
,
intersection_linesintersection_linesIntersectionLinesIntersectionLinesIntersectionLines
,
intersection_line_contour_xldintersection_line_contour_xldIntersectionLineContourXldIntersectionLineContourXldIntersectionLineContourXld
Modul
Foundation