intersection_line_contour_xldintersection_line_contour_xldIntersectionLineContourXldIntersectionLineContourXld (Operator)
Name
intersection_line_contour_xldintersection_line_contour_xldIntersectionLineContourXldIntersectionLineContourXld — Berechnet die Schnittpunkte von einer Geraden und einer XLD-Kontur
Signatur
Herror intersection_line_contour_xld(const Hobject Contour, double LineRow1, double LineColumn1, double LineRow2, double LineColumn2, double* Row, double* Column, Hlong* IsOverlapping)
Herror T_intersection_line_contour_xld(const Hobject Contour, const Htuple LineRow1, const Htuple LineColumn1, const Htuple LineRow2, const Htuple LineColumn2, Htuple* Row, Htuple* Column, Htuple* IsOverlapping)
Beschreibung
intersection_line_contour_xldintersection_line_contour_xldIntersectionLineContourXldIntersectionLineContourXldIntersectionLineContourXld berechnet die Schnittpunkte
von einer Geraden und einer XLD-Kontur ContourContourContourContourcontour.
Die Gerade wird über die beiden Punkte
(LineRow1LineRow1LineRow1LineRow1lineRow1,LineColumn1LineColumn1LineColumn1LineColumn1lineColumn1) und
(LineRow2LineRow2LineRow2LineRow2lineRow2,LineColumn2LineColumn2LineColumn2LineColumn2lineColumn2) definiert.
Die Schnittpunkte, falls vorhanden, werden in (RowRowRowRowrow,ColumnColumnColumnColumncolumn)
zurückgegeben.
Liegt ein Teil der XLD-Kontur auf der Geraden,
liefert der Parameter IsOverlappingIsOverlappingIsOverlappingIsOverlappingisOverlapping
den Wert 1 zurück, ansonsten wird der Wert 0 zurückgegeben.
In diesem Fall werden die Endpunkte des Teilstücks der XLD-Kontur 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.
LineRow1LineRow1LineRow1LineRow1lineRow1 (input_control) point.y → HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Zeilenkoordinate des ersten Punktes der Geraden.
LineColumn1LineColumn1LineColumn1LineColumn1lineColumn1 (input_control) point.x → HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Spaltenkoordinate des ersten Punktes der Geraden.
LineRow2LineRow2LineRow2LineRow2lineRow2 (input_control) point.y → HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Zeilenkoordinate des zweiten Punktes der Geraden.
LineColumn2LineColumn2LineColumn2LineColumn2lineColumn2 (input_control) point.x → HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Spaltenkoordinate des zweiten Punktes der Geraden.
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)
Liegt ein Teil der XLD-Kontur auf der Geraden?
Ergebnis
Sind die Parameterwerte korrekt, dann liefert
intersection_line_contour_xldintersection_line_contour_xldIntersectionLineContourXldIntersectionLineContourXldIntersectionLineContourXld den Wert 2 (H_MSG_TRUE).
Alternativen
intersection_segment_lineintersection_segment_lineIntersectionSegmentLineIntersectionSegmentLineIntersectionSegmentLine
Siehe auch
intersection_segmentsintersection_segmentsIntersectionSegmentsIntersectionSegmentsIntersectionSegments,
intersection_linesintersection_linesIntersectionLinesIntersectionLinesIntersectionLines,
intersection_segment_contour_xldintersection_segment_contour_xldIntersectionSegmentContourXldIntersectionSegmentContourXldIntersectionSegmentContourXld,
intersection_contours_xldintersection_contours_xldIntersectionContoursXldIntersectionContoursXldIntersectionContoursXld
Modul
Foundation