intersection_segment_lineintersection_segment_lineIntersectionSegmentLineIntersectionSegmentLineintersection_segment_line (Operator)

Name

intersection_segment_lineintersection_segment_lineIntersectionSegmentLineIntersectionSegmentLineintersection_segment_line — Berechnet den Schnittpunkt von einem Geradenabschnitt und einer Geraden

Signatur

intersection_segment_line( : : SegmentRow1, SegmentColumn1, SegmentRow2, SegmentColumn2, LineRow1, LineColumn1, LineRow2, LineColumn2 : Row, Column, IsOverlapping)

Herror intersection_segment_line(double SegmentRow1, double SegmentColumn1, double SegmentRow2, double SegmentColumn2, double LineRow1, double LineColumn1, double LineRow2, double LineColumn2, double* Row, double* Column, Hlong* IsOverlapping)

Herror T_intersection_segment_line(const Htuple SegmentRow1, const Htuple SegmentColumn1, const Htuple SegmentRow2, const Htuple SegmentColumn2, const Htuple LineRow1, const Htuple LineColumn1, const Htuple LineRow2, const Htuple LineColumn2, Htuple* Row, Htuple* Column, Htuple* IsOverlapping)

void IntersectionSegmentLine(const HTuple& SegmentRow1, const HTuple& SegmentColumn1, const HTuple& SegmentRow2, const HTuple& SegmentColumn2, const HTuple& LineRow1, const HTuple& LineColumn1, const HTuple& LineRow2, const HTuple& LineColumn2, HTuple* Row, HTuple* Column, HTuple* IsOverlapping)

static void HOperatorSet.IntersectionSegmentLine(HTuple segmentRow1, HTuple segmentColumn1, HTuple segmentRow2, HTuple segmentColumn2, HTuple lineRow1, HTuple lineColumn1, HTuple lineRow2, HTuple lineColumn2, out HTuple row, out HTuple column, out HTuple isOverlapping)

def intersection_segment_line(segment_row_1: Union[float, int], segment_column_1: Union[float, int], segment_row_2: Union[float, int], segment_column_2: Union[float, int], line_row_1: Union[float, int], line_column_1: Union[float, int], line_row_2: Union[float, int], line_column_2: Union[float, int]) -> Tuple[Sequence[float], Sequence[float], int]

def intersection_segment_line_s(segment_row_1: Union[float, int], segment_column_1: Union[float, int], segment_row_2: Union[float, int], segment_column_2: Union[float, int], line_row_1: Union[float, int], line_column_1: Union[float, int], line_row_2: Union[float, int], line_column_2: Union[float, int]) -> Tuple[float, float, int]

Beschreibung

intersection_segment_lineintersection_segment_lineIntersectionSegmentLineIntersectionSegmentLineIntersectionSegmentLineintersection_segment_line berechnet den Schnittpunkt von einem Geradenabschnitt und einer Geraden. Der Geradenabschnitt wird über dessen Endpunkte (SegmentRow1SegmentRow1SegmentRow1SegmentRow1segmentRow1segment_row_1,SegmentColumn1SegmentColumn1SegmentColumn1SegmentColumn1segmentColumn1segment_column_1) und (SegmentRow2SegmentRow2SegmentRow2SegmentRow2segmentRow2segment_row_2,SegmentColumn2SegmentColumn2SegmentColumn2SegmentColumn2segmentColumn2segment_column_2), die Gerade über zwei Punkte (LineRow1LineRow1LineRow1LineRow1lineRow1line_row_1,LineColumn1LineColumn1LineColumn1LineColumn1lineColumn1line_column_1) und (LineRow2LineRow2LineRow2LineRow2lineRow2line_row_2,LineColumn2LineColumn2LineColumn2LineColumn2lineColumn2line_column_2) definiert. Der Schnittpunkt, falls vorhanden, wird in (RowRowRowRowrowrow,ColumnColumnColumnColumncolumncolumn) zurückgegeben. Liegt der Geradenabschnitt auf der Geraden, liefert der Parameter IsOverlappingIsOverlappingIsOverlappingIsOverlappingisOverlappingis_overlapping den Wert 1 zurück, ansonsten wird der Wert 0 zurückgegeben. In diesem Fall werden die Endpunkte des Geradenabschnitts als Schnittpunkte in (RowRowRowRowrowrow,ColumnColumnColumnColumncolumncolumn) zurückgegeben.

Ausführungsinformationen

Parameter

SegmentRow1SegmentRow1SegmentRow1SegmentRow1segmentRow1segment_row_1 (input_control)  point.y HTupleUnion[float, int]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Zeilenkoordinate des ersten Punktes des Geradenabschnitts.

SegmentColumn1SegmentColumn1SegmentColumn1SegmentColumn1segmentColumn1segment_column_1 (input_control)  point.x HTupleUnion[float, int]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Spaltenkoordinate des ersten Punktes des Geradenabschnitts.

SegmentRow2SegmentRow2SegmentRow2SegmentRow2segmentRow2segment_row_2 (input_control)  point.y HTupleUnion[float, int]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Zeilenkoordinate des zweiten Punktes des Geradenabschnitts.

SegmentColumn2SegmentColumn2SegmentColumn2SegmentColumn2segmentColumn2segment_column_2 (input_control)  point.x HTupleUnion[float, int]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Spaltenkoordinate des zweiten Punktes des Geradenabschnitts.

LineRow1LineRow1LineRow1LineRow1lineRow1line_row_1 (input_control)  point.y HTupleUnion[float, int]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Zeilenkoordinate des ersten Punktes der Geraden.

LineColumn1LineColumn1LineColumn1LineColumn1lineColumn1line_column_1 (input_control)  point.x HTupleUnion[float, int]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Spaltenkoordinate des ersten Punktes der Geraden.

LineRow2LineRow2LineRow2LineRow2lineRow2line_row_2 (input_control)  point.y HTupleUnion[float, int]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Zeilenkoordinate des zweiten Punktes der Geraden.

LineColumn2LineColumn2LineColumn2LineColumn2lineColumn2line_column_2 (input_control)  point.x HTupleUnion[float, int]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Spaltenkoordinate des zweiten Punktes der Geraden.

RowRowRowRowrowrow (output_control)  point.y(-array) HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Zeilenkoordinate des Schnittpunktes.

ColumnColumnColumnColumncolumncolumn (output_control)  point.x(-array) HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Spaltenkoordinate des Schnittpunktes.

IsOverlappingIsOverlappingIsOverlappingIsOverlappingisOverlappingis_overlapping (output_control)  integer HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Überlappen sich der Geradenabschnitt und die Gerade in mehr als einem Punkt?

Ergebnis

Sind die Parameterwerte korrekt, dann liefert intersection_segment_lineintersection_segment_lineIntersectionSegmentLineIntersectionSegmentLineIntersectionSegmentLineintersection_segment_line den Wert TRUE.

Alternativen

intersection_line_contour_xldintersection_line_contour_xldIntersectionLineContourXldIntersectionLineContourXldIntersectionLineContourXldintersection_line_contour_xld

Siehe auch

intersection_segmentsintersection_segmentsIntersectionSegmentsIntersectionSegmentsIntersectionSegmentsintersection_segments, intersection_linesintersection_linesIntersectionLinesIntersectionLinesIntersectionLinesintersection_lines, intersection_segment_contour_xldintersection_segment_contour_xldIntersectionSegmentContourXldIntersectionSegmentContourXldIntersectionSegmentContourXldintersection_segment_contour_xld, intersection_contours_xldintersection_contours_xldIntersectionContoursXldIntersectionContoursXldIntersectionContoursXldintersection_contours_xld

Modul

Foundation